Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f9bf472d
Commit
f9bf472d
authored
Feb 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix build with sysctl disabled.
parent
fdcb91d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+4
-0
No files found.
arch/sparc64/kernel/sys_sparc32.c
View file @
f9bf472d
...
@@ -2713,6 +2713,9 @@ struct __sysctl_args32 {
...
@@ -2713,6 +2713,9 @@ struct __sysctl_args32 {
asmlinkage
long
sys32_sysctl
(
struct
__sysctl_args32
*
args
)
asmlinkage
long
sys32_sysctl
(
struct
__sysctl_args32
*
args
)
{
{
#ifndef CONFIG_SYSCTL
return
-
ENOSYS
;
#else
struct
__sysctl_args32
tmp
;
struct
__sysctl_args32
tmp
;
int
error
;
int
error
;
size_t
oldlen
,
*
oldlenp
=
NULL
;
size_t
oldlen
,
*
oldlenp
=
NULL
;
...
@@ -2747,6 +2750,7 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 *args)
...
@@ -2747,6 +2750,7 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 *args)
copy_to_user
(
args
->
__unused
,
tmp
.
__unused
,
sizeof
(
tmp
.
__unused
));
copy_to_user
(
args
->
__unused
,
tmp
.
__unused
,
sizeof
(
tmp
.
__unused
));
}
}
return
error
;
return
error
;
#endif
}
}
extern
long
sys_lookup_dcookie
(
u64
cookie64
,
char
*
buf
,
size_t
len
);
extern
long
sys_lookup_dcookie
(
u64
cookie64
,
char
*
buf
,
size_t
len
);
...
...
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