diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 08:33:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 08:33:53 +0200 |
commit | 17f04fbb0f7153d95ec33da81189b113cc778157 (patch) | |
tree | 7f8f72195727d9d8b21040837996566bb4addf35 /kernel/sysctl.c | |
parent | sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests. (diff) | |
download | linux-17f04fbb0f7153d95ec33da81189b113cc778157.tar.xz 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.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; #endif #ifdef CONFIG_SPARC -extern char reboot_command []; -extern int stop_a_enabled; -extern int scons_pwroff; +#include <asm/system.h> #endif #ifdef __hppa__ |