aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-09-09 20:18:50 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-10 02:28:23 -0400
commitb2994ef0de252d41f1511e5f87704bedda12dabc (patch)
treec3ad8236541b6fd0407668148f6ef7c4408764d7 /arch/x86/kernel
parent13ad7725e9955ac68fff670a039da99ab33e86a0 (diff)
x86: signal_64.c: clean up signal_fault()
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/signal_64.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/kernel/signal_64.c b/arch/x86/kernel/signal_64.c
index 8fbdd23d5cc6..552a331313ff 100644
--- a/arch/x86/kernel/signal_64.c
+++ b/arch/x86/kernel/signal_64.c
@@ -473,12 +473,14 @@ void do_notify_resume(struct pt_regs *regs, void *unused,
473void signal_fault(struct pt_regs *regs, void __user *frame, char *where) 473void signal_fault(struct pt_regs *regs, void __user *frame, char *where)
474{ 474{
475 struct task_struct *me = current; 475 struct task_struct *me = current;
476
476 if (show_unhandled_signals && printk_ratelimit()) { 477 if (show_unhandled_signals && printk_ratelimit()) {
477 printk("%s[%d] bad frame in %s frame:%p ip:%lx sp:%lx orax:%lx", 478 printk(KERN_INFO
478 me->comm, me->pid, where, frame, regs->ip, 479 "%s[%d] bad frame in %s frame:%p ip:%lx sp:%lx orax:%lx",
479 regs->sp, regs->orig_ax); 480 me->comm, me->pid, where, frame,
481 regs->ip, regs->sp, regs->orig_ax);
480 print_vma_addr(" in ", regs->ip); 482 print_vma_addr(" in ", regs->ip);
481 printk("\n"); 483 printk(KERN_CONT "\n");
482 } 484 }
483 485
484 force_sig(SIGSEGV, me); 486 force_sig(SIGSEGV, me);