summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-11 23:33:53 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-11 23:33:53 -0700
commit17f04fbb0f7153d95ec33da81189b113cc778157 (patch)
tree7f8f72195727d9d8b21040837996566bb4addf35 /kernel/sysctl.c
parent72c57ed50663dc04b0b329beaec39b557c8ac5a5 (diff)
sysctl: Use header file for sysctl knob declarations on sparc.
This also takes care of a sparse warning as scons_pwroff's definition point. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index eda6162c58f..da5152088cc 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -119,9 +119,7 @@ extern int sg_big_buff;
#endif
#ifdef CONFIG_SPARC
-extern char reboot_command [];
-extern int stop_a_enabled;
-extern int scons_pwroff;
+#include <asm/system.h>
#endif
#ifdef __hppa__