aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index cc3e0d7a5acf..c468c3c6dfc5 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -117,10 +117,8 @@ extern char modprobe_path[];
117extern int sg_big_buff; 117extern int sg_big_buff;
118#endif 118#endif
119 119
120#ifdef __sparc__ 120#ifdef CONFIG_SPARC
121extern char reboot_command []; 121#include <asm/system.h>
122extern int stop_a_enabled;
123extern int scons_pwroff;
124#endif 122#endif
125 123
126#ifdef __hppa__ 124#ifdef __hppa__
@@ -414,7 +412,7 @@ static struct ctl_table kern_table[] = {
414 .mode = 0644, 412 .mode = 0644,
415 .proc_handler = &proc_dointvec, 413 .proc_handler = &proc_dointvec,
416 }, 414 },
417#ifdef __sparc__ 415#ifdef CONFIG_SPARC
418 { 416 {
419 .ctl_name = KERN_SPARC_REBOOT, 417 .ctl_name = KERN_SPARC_REBOOT,
420 .procname = "reboot-cmd", 418 .procname = "reboot-cmd",