summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-10-12 10:20:07 +1000
committerPaul Mackerras <paulus@samba.org>2007-10-12 14:05:18 +1000
commitd0c3d534a4388a465101b634a95f2ec586415254 (patch)
treee6acdc89adcb9057b7bbaeba55332fdcb97c2ceb /kernel/sysctl.c
parentb63db45ca44a805ef21eb10a3750e88419156423 (diff)
downloadtalos-obmc-linux-d0c3d534a4388a465101b634a95f2ec586415254.tar.gz
talos-obmc-linux-d0c3d534a4388a465101b634a95f2ec586415254.zip
[POWERPC] Implement logging of unhandled signals
Implement show_unhandled_signals sysctl + support to print when a process is killed due to unhandled signals just as i386 and x86_64 does. Default to having it off, unlike x86 that defaults on. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 53a456ebf6d5..c7314f952647 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1221,7 +1221,7 @@ static ctl_table fs_table[] = {
};
static ctl_table debug_table[] = {
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) || defined(CONFIG_PPC)
{
.ctl_name = CTL_UNNUMBERED,
.procname = "exception-trace",
OpenPOWER on IntegriCloud