diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 02:29:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 02:29:54 -0400 |
commit | 72c57ed50663dc04b0b329beaec39b557c8ac5a5 (patch) | |
tree | ac740997d1e3093e698d18455aece0cc7b2bdf30 /kernel/sysctl.c | |
parent | 8f20b20de73eeabe3d35e67e0ce993eceef07492 (diff) |
sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.
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, 2 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fe4713347275..eda6162c58f2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -118,7 +118,7 @@ extern char modprobe_path[]; | |||
118 | extern int sg_big_buff; | 118 | extern int sg_big_buff; |
119 | #endif | 119 | #endif |
120 | 120 | ||
121 | #ifdef __sparc__ | 121 | #ifdef CONFIG_SPARC |
122 | extern char reboot_command []; | 122 | extern char reboot_command []; |
123 | extern int stop_a_enabled; | 123 | extern int stop_a_enabled; |
124 | extern int scons_pwroff; | 124 | extern int scons_pwroff; |
@@ -414,7 +414,7 @@ static struct ctl_table kern_table[] = { | |||
414 | .mode = 0644, | 414 | .mode = 0644, |
415 | .proc_handler = &proc_dointvec, | 415 | .proc_handler = &proc_dointvec, |
416 | }, | 416 | }, |
417 | #ifdef __sparc__ | 417 | #ifdef CONFIG_SPARC |
418 | { | 418 | { |
419 | .ctl_name = KERN_SPARC_REBOOT, | 419 | .ctl_name = KERN_SPARC_REBOOT, |
420 | .procname = "reboot-cmd", | 420 | .procname = "reboot-cmd", |