aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-12 02:29:54 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-12 02:29:54 -0400
commit72c57ed50663dc04b0b329beaec39b557c8ac5a5 (patch)
treeac740997d1e3093e698d18455aece0cc7b2bdf30 /kernel/sysctl.c
parent8f20b20de73eeabe3d35e67e0ce993eceef07492 (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.c4
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[];
118extern int sg_big_buff; 118extern int sg_big_buff;
119#endif 119#endif
120 120
121#ifdef __sparc__ 121#ifdef CONFIG_SPARC
122extern char reboot_command []; 122extern char reboot_command [];
123extern int stop_a_enabled; 123extern int stop_a_enabled;
124extern int scons_pwroff; 124extern 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",