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
684b80f9
Commit
684b80f9
authored
Apr 07, 2003
by
Alan Cox
Committed by
David S. Miller
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: syscalls returning long
parent
8bc11d95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+6
-6
No files found.
arch/sparc64/kernel/sys_sparc32.c
View file @
684b80f9
...
@@ -2831,10 +2831,10 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 *args)
...
@@ -2831,10 +2831,10 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 *args)
return
error
;
return
error
;
}
}
extern
asmlinkage
int
sys_sched_setaffinity
(
pid_t
pid
,
unsigned
int
len
,
extern
asmlinkage
long
sys_sched_setaffinity
(
pid_t
pid
,
unsigned
int
len
,
unsigned
long
*
user_mask_ptr
);
unsigned
long
*
user_mask_ptr
);
asmlinkage
int
sys32_sched_setaffinity
(
compat_pid_t
pid
,
unsigned
int
len
,
asmlinkage
long
sys32_sched_setaffinity
(
compat_pid_t
pid
,
unsigned
int
len
,
u32
*
user_mask_ptr
)
u32
*
user_mask_ptr
)
{
{
unsigned
long
kernel_mask
;
unsigned
long
kernel_mask
;
...
@@ -2855,10 +2855,10 @@ asmlinkage int sys32_sched_setaffinity(compat_pid_t pid, unsigned int len,
...
@@ -2855,10 +2855,10 @@ asmlinkage int sys32_sched_setaffinity(compat_pid_t pid, unsigned int len,
return
ret
;
return
ret
;
}
}
extern
asmlinkage
int
sys_sched_getaffinity
(
pid_t
pid
,
unsigned
int
len
,
extern
asmlinkage
long
sys_sched_getaffinity
(
pid_t
pid
,
unsigned
int
len
,
unsigned
long
*
user_mask_ptr
);
unsigned
long
*
user_mask_ptr
);
asmlinkage
int
sys32_sched_getaffinity
(
compat_pid_t
pid
,
unsigned
int
len
,
asmlinkage
long
sys32_sched_getaffinity
(
compat_pid_t
pid
,
unsigned
int
len
,
u32
*
user_mask_ptr
)
u32
*
user_mask_ptr
)
{
{
unsigned
long
kernel_mask
;
unsigned
long
kernel_mask
;
...
@@ -2881,9 +2881,9 @@ asmlinkage int sys32_sched_getaffinity(compat_pid_t pid, unsigned int len,
...
@@ -2881,9 +2881,9 @@ asmlinkage int sys32_sched_getaffinity(compat_pid_t pid, unsigned int len,
return
ret
;
return
ret
;
}
}
extern
int
sys_lookup_dcookie
(
u64
cookie64
,
char
*
buf
,
size_t
len
);
extern
long
sys_lookup_dcookie
(
u64
cookie64
,
char
*
buf
,
size_t
len
);
int
sys32_lookup_dcookie
(
u32
cookie_high
,
u32
cookie_low
,
char
*
buf
,
size_t
len
)
long
sys32_lookup_dcookie
(
u32
cookie_high
,
u32
cookie_low
,
char
*
buf
,
size_t
len
)
{
{
return
sys_lookup_dcookie
((
u64
)
cookie_high
<<
32
|
cookie_low
,
return
sys_lookup_dcookie
((
u64
)
cookie_high
<<
32
|
cookie_low
,
buf
,
len
);
buf
,
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