]> git.baikalelectronics.ru Git - kernel.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)
commit313807c389a8c30a2d3f01e9e0aa85eab4f06493
treee4297d59fc7ee4130059ad082ac7cf206195d408
parent063bfd73355f08ab8ffd8c4f1e4694617a15819d
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