]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: signal_64.c: clean up signal_fault()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Wed, 10 Sep 2008 00:18:50 +0000 (17:18 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Sep 2008 06:28:23 +0000 (08:28 +0200)
clean up and make signal_fault() same as 32bit.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/signal_64.c

index 8fbdd23d5cc66bf14d7880b81e513b08425a4b54..552a331313ff8a3fbad6f5f9bf8835fb996378df 100644 (file)
@@ -473,12 +473,14 @@ void do_notify_resume(struct pt_regs *regs, void *unused,
 void signal_fault(struct pt_regs *regs, void __user *frame, char *where)
 {
        struct task_struct *me = current;
+
        if (show_unhandled_signals && printk_ratelimit()) {
-               printk("%s[%d] bad frame in %s frame:%p ip:%lx sp:%lx orax:%lx",
-              me->comm, me->pid, where, frame, regs->ip,
-                  regs->sp, regs->orig_ax);
+               printk(KERN_INFO
+                      "%s[%d] bad frame in %s frame:%p ip:%lx sp:%lx orax:%lx",
+                      me->comm, me->pid, where, frame,
+                      regs->ip, regs->sp, regs->orig_ax);
                print_vma_addr(" in ", regs->ip);
-               printk("\n");
+               printk(KERN_CONT "\n");
        }
 
        force_sig(SIGSEGV, me);