diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 09e569f4792b..6fc5e17086f4 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -54,6 +54,7 @@ extern int proc_nr_files(ctl_table *table, int write, struct file *filp, | |||
54 | 54 | ||
55 | #ifdef CONFIG_X86 | 55 | #ifdef CONFIG_X86 |
56 | #include <asm/nmi.h> | 56 | #include <asm/nmi.h> |
57 | #include <asm/stacktrace.h> | ||
57 | #endif | 58 | #endif |
58 | 59 | ||
59 | #if defined(CONFIG_SYSCTL) | 60 | #if defined(CONFIG_SYSCTL) |
@@ -707,6 +708,14 @@ static ctl_table kern_table[] = { | |||
707 | .mode = 0444, | 708 | .mode = 0444, |
708 | .proc_handler = &proc_dointvec, | 709 | .proc_handler = &proc_dointvec, |
709 | }, | 710 | }, |
711 | { | ||
712 | .ctl_name = CTL_UNNUMBERED, | ||
713 | .procname = "kstack_depth_to_print", | ||
714 | .data = &kstack_depth_to_print, | ||
715 | .maxlen = sizeof(int), | ||
716 | .mode = 0644, | ||
717 | .proc_handler = &proc_dointvec, | ||
718 | }, | ||
710 | #endif | 719 | #endif |
711 | #if defined(CONFIG_MMU) | 720 | #if defined(CONFIG_MMU) |
712 | { | 721 | { |