projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f20b20
)
sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.
author
David S. Miller
<davem@davemloft.net>
Fri, 12 Sep 2008 06:29:54 +0000
(23:29 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index fe47133472758853b039c47ac9390e5eadd34bed..eda6162c58f2f7f54a1319d6ff3cdb16d9efc0f2 100644
(file)
--- 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",