Skip to contentSkip to conversation

: sysctl: Use CONFIG_SPARC instead of __sparc__ for

PATCH New David Miller 1 participant 1 message Sep 12, 2008 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 3/16 : sysctl: Use CONFIG_SPARC instead of __sparc__ for

sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.

---
 kernel/sysctl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/sysctl.c +2 -2
index fe47133..eda6162 100644
@@ -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",
Signature · 1 line
1.5.6.5.GIT