forked from luck/tmp_suning_uos_patched
[S390] wire up sys_clock_adjtime
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
5069496ec4
commit
26e8a33989
@ -274,7 +274,8 @@
|
||||
#define __NR_prlimit64 334
|
||||
#define __NR_name_to_handle_at 335
|
||||
#define __NR_open_by_handle_at 336
|
||||
#define NR_syscalls 337
|
||||
#define __NR_clock_adjtime 337
|
||||
#define NR_syscalls 338
|
||||
|
||||
/*
|
||||
* There are some system calls that are not present on 64 bit, some
|
||||
|
@ -1893,3 +1893,9 @@ compat_sys_open_by_handle_at_wrapper:
|
||||
llgtr %r3,%r3 # struct file_handle __user *
|
||||
lgfr %r4,%r4 # int
|
||||
jg compat_sys_open_by_handle_at
|
||||
|
||||
.globl compat_sys_clock_adjtime_wrapper
|
||||
compat_sys_clock_adjtime_wrapper:
|
||||
lgfr %r2,%r2 # clockid_t (int)
|
||||
llgtr %r3,%r3 # struct compat_timex __user *
|
||||
jg compat_sys_clock_adjtime
|
||||
|
@ -345,3 +345,4 @@ SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
|
||||
SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
|
||||
SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */
|
||||
SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at_wrapper)
|
||||
SYSCALL(sys_clock_adjtime,sys_clock_adjtime,compat_sys_clock_adjtime_wrapper)
|
||||
|
Loading…
Reference in New Issue
Block a user