All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ix86: log unhandled signals from do_trap() just like x86-64 does
@ 2015-01-23  8:14 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2015-01-23  8:14 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

There not being a similar difference in page fault handling, I can't
see why 32- and 64-bit should differ in behavior here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 arch/x86/kernel/traps.c |    2 --
 1 file changed, 2 deletions(-)

--- 3.19-rc5/arch/x86/kernel/traps.c
+++ 3.19-rc5-ix86-show-unhandled-signals/arch/x86/kernel/traps.c
@@ -190,7 +190,6 @@ do_trap(int trapnr, int signr, char *str
 	tsk->thread.error_code = error_code;
 	tsk->thread.trap_nr = trapnr;
 
-#ifdef CONFIG_X86_64
 	if (show_unhandled_signals && unhandled_signal(tsk, signr) &&
 	    printk_ratelimit()) {
 		pr_info("%s[%d] trap %s ip:%lx sp:%lx error:%lx",
@@ -199,7 +198,6 @@ do_trap(int trapnr, int signr, char *str
 		print_vma_addr(" in ", regs->ip);
 		pr_cont("\n");
 	}
-#endif
 
 	force_sig_info(signr, info ?: SEND_SIG_PRIV, tsk);
 }




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-23  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23  8:14 [PATCH] ix86: log unhandled signals from do_trap() just like x86-64 does Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.