diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 02:33:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 02:33:53 -0400 |
commit | 17f04fbb0f7153d95ec33da81189b113cc778157 (patch) | |
tree | 7f8f72195727d9d8b21040837996566bb4addf35 /kernel/sysctl.c | |
parent | 72c57ed50663dc04b0b329beaec39b557c8ac5a5 (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.c | 4 |
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; | |||
119 | #endif | 119 | #endif |
120 | 120 | ||
121 | #ifdef CONFIG_SPARC | 121 | #ifdef CONFIG_SPARC |
122 | extern char reboot_command []; | 122 | #include <asm/system.h> |
123 | extern int stop_a_enabled; | ||
124 | extern int scons_pwroff; | ||
125 | #endif | 123 | #endif |
126 | 124 | ||
127 | #ifdef __hppa__ | 125 | #ifdef __hppa__ |