]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
printk: remove used-once early_vprintk
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 23:45:53 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:10 +0000 (17:41 -0800)
commit1dc6244bd6d4f62239487fb0befc41c63e117290
treee4297d59fc7ee4130059ad082ac7cf206195d408
parent9e3961a0979817c612b10b2da4f3045ec9faa779
printk: remove used-once early_vprintk

Eliminate the unlikely possibility of message interleaving for
early_printk/early_vprintk use.

early_vprintk can be done via the %pV extension so remove this
unnecessary function and change early_printk to have the equivalent
vprintk code.

All uses of early_printk already end with a newline so also remove the
unnecessary newline from the early_printk function.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/tile/kernel/early_printk.c
include/linux/printk.h
kernel/printk/printk.c