Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xcap
xcap-capability-linux
Commits
72c57ed5
Commit
72c57ed5
authored
Sep 11, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sysctl: Use CONFIG_SPARC instead of __sparc__ for ifdef tests.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
8f20b20d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kernel/sysctl.c
kernel/sysctl.c
+2
-2
No files found.
kernel/sysctl.c
View file @
72c57ed5
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment