diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-10-04 14:02:09 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-10-04 14:02:09 -0400 |
commit | 8abfe01dae8c0ed7ca6bfb153a7fcab47df72a52 (patch) | |
tree | 077867ad42c644fa65d6e4bbcc0f41e14a810464 /arch/s390/kernel | |
parent | 4e56296d471a827fdd244cfdb6a1e62fc3af7af0 (diff) |
[S390] Wire up sys_getcpu system call.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 7 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 4aabeeaa7cf7..cb0efae6802f 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1658,3 +1658,10 @@ compat_sys_vmsplice_wrapper: | |||
1658 | llgfr %r4,%r4 # unsigned int | 1658 | llgfr %r4,%r4 # unsigned int |
1659 | llgfr %r5,%r5 # unsigned int | 1659 | llgfr %r5,%r5 # unsigned int |
1660 | jg compat_sys_vmsplice | 1660 | jg compat_sys_vmsplice |
1661 | |||
1662 | .globl sys_getcpu_wrapper | ||
1663 | sys_getcpu_wrapper: | ||
1664 | llgtr %r2,%r2 # unsigned * | ||
1665 | llgtr %r3,%r3 # unsigned * | ||
1666 | llgtr %r4,%r4 # struct getcpu_cache * | ||
1667 | jg sys_tee | ||
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 93be1d56c036..e59baec56520 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -318,3 +318,5 @@ SYSCALL(sys_splice,sys_splice,sys_splice_wrapper) | |||
318 | SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper) | 318 | SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper) |
319 | SYSCALL(sys_tee,sys_tee,sys_tee_wrapper) | 319 | SYSCALL(sys_tee,sys_tee,sys_tee_wrapper) |
320 | SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice_wrapper) | 320 | SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice_wrapper) |
321 | NI_SYSCALL /* 310 sys_move_pages */ | ||
322 | SYSCALL(sys_getcpu,sys_getcpu,sys_getcpu_wrapper) | ||