sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:29:54 +0000 (23:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:29:54 +0000 (23:29 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/sysctl.c

index fe47133..eda6162 100644 (file)
@@ -118,7 +118,7 @@ extern char modprobe_path[];
 extern int sg_big_buff;
 #endif
 
-#ifdef __sparc__
+#ifdef CONFIG_SPARC
 extern char reboot_command [];
 extern int stop_a_enabled;
 extern int scons_pwroff;
@@ -414,7 +414,7 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
-#ifdef __sparc__
+#ifdef CONFIG_SPARC
        {
                .ctl_name       = KERN_SPARC_REBOOT,
                .procname       = "reboot-cmd",