x86/debug: Fix the printk() debug output of signal_fault(), do_trap() and do_general_...
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Fri, 7 Apr 2017 12:09:04 +0000 (14:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Apr 2017 07:11:13 +0000 (09:11 +0200)
commit1c99a6874133ebf4513504ef7c32ce1f532d323f
tree7c3f54cf58fd42cfe8586b220fa1c46ae704dac5
parent6fdc6dd90272ce7e75d744f71535cfbd8d77da81
x86/debug: Fix the printk() debug output of signal_fault(), do_trap() and do_general_protection()

Since commit:

  4bcc595ccd80 "printk: reinstate KERN_CONT for printing"

... the debug output of signal_fault(), do_trap() and do_general_protection()
looks garbled, e.g.:

 traps: conftest[9335] trap invalid opcode ip:400428 sp:7ffeaba1b0d8 error:0
  in conftest[400000+1000]

(note the unintended line break.)

Fix the bug by adding KERN_CONTs.

Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/signal.c
arch/x86/kernel/traps.c