提交 72c57ed5 编写于 作者: D David S. Miller

sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8f20b20d
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册