summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDavid S. Miller2008-09-12 08:33:53 +0200
committerDavid S. Miller2008-09-12 08:33:53 +0200
commit17f04fbb0f7153d95ec33da81189b113cc778157 (patch)
tree7f8f72195727d9d8b21040837996566bb4addf35 /kernel/sysctl.c
parentsysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests. (diff)
downloadkernel-qcow2-linux-17f04fbb0f7153d95ec33da81189b113cc778157.tar.gz
kernel-qcow2-linux-17f04fbb0f7153d95ec33da81189b113cc778157.tar.xz
kernel-qcow2-linux-17f04fbb0f7153d95ec33da81189b113cc778157.zip
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 eda6162c58f2..da5152088cc3 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__