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