diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 4ce13c3cedb9..e5b31aff67aa 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -599,6 +599,13 @@ static struct ctl_table kern_table[] = { | |||
599 | .mode = 0644, | 599 | .mode = 0644, |
600 | .proc_handler = proc_dointvec, | 600 | .proc_handler = proc_dointvec, |
601 | }, | 601 | }, |
602 | { | ||
603 | .procname = "traceoff_on_warning", | ||
604 | .data = &__disable_trace_on_warning, | ||
605 | .maxlen = sizeof(__disable_trace_on_warning), | ||
606 | .mode = 0644, | ||
607 | .proc_handler = proc_dointvec, | ||
608 | }, | ||
602 | #endif | 609 | #endif |
603 | #ifdef CONFIG_MODULES | 610 | #ifdef CONFIG_MODULES |
604 | { | 611 | { |