From: David S. Miller Date: Fri, 12 Sep 2008 06:29:54 +0000 (-0700) Subject: sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests. X-Git-Tag: v2.6.28-rc1~706^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=72c57ed50663dc04b0b329beaec39b557c8ac5a5;p=linux-2.6-omap-h63xx.git sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests. Signed-off-by: David S. Miller --- diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fe471334727..eda6162c58f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -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",