linux/arch
Roland Dreier a1a08d1cb0 x86: Remove spurious printk level from segfault message
Since commit 5fd29d6c ("printk: clean up handling of log-levels
and newlines"), the kernel logs segfaults like:

    <6>gnome-power-man[24509]: segfault at 20 ip 00007f9d4950465a sp 00007fffbb50fc70 error 4 in libgobject-2.0.so.0.2103.0[7f9d494f7000+45000]

with the extra "<6>" being KERN_INFO.  This happens because the
printk in show_signal_msg() started with KERN_CONT and then
used "%s" to pass in the real level; and KERN_CONT is no longer
an empty string, and printk only pays attention to the level at
the very beginning of the format string.

Therefore, remove the KERN_CONT from this printk, since it is
now actively causing problems (and never really made any
sense).

Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <874otjitkj.fsf@shaolin.home.digitalvampire.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-07-11 09:56:19 +02:00
..
alpha sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
arm sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
avr32 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
blackfin sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
cris sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
frv sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
h8300 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
ia64 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m32r sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m68k sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m68knommu Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
microblaze sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
mips sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
mn10300 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
parisc sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
powerpc Merge branch 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-07-10 14:25:03 -07:00
s390 Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2009-07-10 19:12:51 -07:00
sh sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
sparc sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
um sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
x86 x86: Remove spurious printk level from segfault message 2009-07-11 09:56:19 +02:00
xtensa sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00