diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 130c5ec9ee0b..600b33358ded 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -65,7 +65,6 @@ extern int sysctl_overcommit_memory; | |||
65 | extern int sysctl_overcommit_ratio; | 65 | extern int sysctl_overcommit_ratio; |
66 | extern int sysctl_panic_on_oom; | 66 | extern int sysctl_panic_on_oom; |
67 | extern int max_threads; | 67 | extern int max_threads; |
68 | extern int sysrq_enabled; | ||
69 | extern int core_uses_pid; | 68 | extern int core_uses_pid; |
70 | extern int suid_dumpable; | 69 | extern int suid_dumpable; |
71 | extern char core_pattern[]; | 70 | extern char core_pattern[]; |
@@ -543,7 +542,7 @@ static ctl_table kern_table[] = { | |||
543 | { | 542 | { |
544 | .ctl_name = KERN_SYSRQ, | 543 | .ctl_name = KERN_SYSRQ, |
545 | .procname = "sysrq", | 544 | .procname = "sysrq", |
546 | .data = &sysrq_enabled, | 545 | .data = &__sysrq_enabled, |
547 | .maxlen = sizeof (int), | 546 | .maxlen = sizeof (int), |
548 | .mode = 0644, | 547 | .mode = 0644, |
549 | .proc_handler = &proc_dointvec, | 548 | .proc_handler = &proc_dointvec, |