]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80c2133965e143663a70b8a8af7fcad862271260
tree7c3f54cf58fd42cfe8586b220fa1c46ae704dac5
parent19a0c29eef0999f9a4cf0876b49d41d90eba9510
x86/debug: Fix the printk() debug output of signal_fault(), do_trap() and do_general_protection()

Since commit:

  1262300e7eb5 "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