Skip to content

Commit

Permalink
sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 12, 2008
1 parent 8f20b20 commit 72c57ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 72c57ed

Please sign in to comment.