x86/debug: Fix the printk() debug output of signal_fault(), do_trap() and do_general_...
[sfrench/cifs-2.6.git] / arch / x86 / kernel / signal.c
index 763af1d0de64d8f8bbd323453e9ca7d266864c13..cc30a74e4adb2c3499b52488c49498dea1851ae7 100644 (file)
@@ -10,6 +10,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/sched.h>
+#include <linux/sched/task_stack.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
 #include <linux/kernel.h>
@@ -845,7 +846,7 @@ void signal_fault(struct pt_regs *regs, void __user *frame, char *where)
                       task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG,
                       me->comm, me->pid, where, frame,
                       regs->ip, regs->sp, regs->orig_ax);
-               print_vma_addr(" in ", regs->ip);
+               print_vma_addr(KERN_CONT " in ", regs->ip);
                pr_cont("\n");
        }