printk: only look for prefix levels in kernel messages
authorJoe Perches <joe@perches.com>
Mon, 30 Jul 2012 21:40:19 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:14 +0000 (17:25 -0700)
commit088a52aac810655c1db1e40331e4936946701e9c
tree51ad8938a70c0bd3a08c74379dbec3107037d602
parent04d2c8c83d0e3ac5f78aeede51babb3236200112
printk: only look for prefix levels in kernel messages

vprintk_emit() prefix parsing should only be done for internal kernel
messages.  This allows existing behavior to be kept in all cases.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk.c