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
Kirill Smelkov
linux
Commits
8abfe01d
Commit
8abfe01d
authored
Oct 04, 2006
by
Heiko Carstens
Committed by
Martin Schwidefsky
Oct 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] Wire up sys_getcpu system call.
Signed-off-by:
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
parent
4e56296d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/compat_wrapper.S
+7
-0
arch/s390/kernel/syscalls.S
arch/s390/kernel/syscalls.S
+2
-0
include/asm-s390/unistd.h
include/asm-s390/unistd.h
+3
-1
No files found.
arch/s390/kernel/compat_wrapper.S
View file @
8abfe01d
...
...
@@ -1658,3 +1658,10 @@ compat_sys_vmsplice_wrapper:
llgfr
%
r4
,%
r4
#
unsigned
int
llgfr
%
r5
,%
r5
#
unsigned
int
jg
compat_sys_vmsplice
.
globl
sys_getcpu_wrapper
sys_getcpu_wrapper
:
llgtr
%
r2
,%
r2
#
unsigned
*
llgtr
%
r3
,%
r3
#
unsigned
*
llgtr
%
r4
,%
r4
#
struct
getcpu_cache
*
jg
sys_tee
arch/s390/kernel/syscalls.S
View file @
8abfe01d
...
...
@@ -318,3 +318,5 @@ SYSCALL(sys_splice,sys_splice,sys_splice_wrapper)
SYSCALL
(
sys_sync_file_range
,
sys_sync_file_range
,
sys_sync_file_range_wrapper
)
SYSCALL
(
sys_tee
,
sys_tee
,
sys_tee_wrapper
)
SYSCALL
(
sys_vmsplice
,
sys_vmsplice
,
compat_sys_vmsplice_wrapper
)
NI_SYSCALL
/
*
310
sys_move_pages
*/
SYSCALL
(
sys_getcpu
,
sys_getcpu
,
sys_getcpu_wrapper
)
include/asm-s390/unistd.h
View file @
8abfe01d
...
...
@@ -247,8 +247,10 @@
#define __NR_sync_file_range 307
#define __NR_tee 308
#define __NR_vmsplice 309
/* Number 310 is reserved for new sys_move_pages */
#define __NR_getcpu 311
#define NR_syscalls 31
0
#define NR_syscalls 31
2
/*
* There are some system calls that are not present on 64 bit, some
...
...
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