diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-05 20:10:59 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-09 13:46:38 -0400 |
commit | 91c2e0bcae72a3086c698b5de2b950b885abb0e6 (patch) | |
tree | 89f738ca8f9519f0fd3b22dd6cfb3dc69d98cfab /arch/s390/kernel | |
parent | 5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada (diff) |
unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 9 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 2d72d9e96c15..99696783fbf7 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1349,15 +1349,6 @@ ENTRY(sys_fanotify_init_wrapper) | |||
1349 | llgfr %r3,%r3 # unsigned int | 1349 | llgfr %r3,%r3 # unsigned int |
1350 | jg sys_fanotify_init # branch to system call | 1350 | jg sys_fanotify_init # branch to system call |
1351 | 1351 | ||
1352 | ENTRY(sys_fanotify_mark_wrapper) | ||
1353 | lgfr %r2,%r2 # int | ||
1354 | llgfr %r3,%r3 # unsigned int | ||
1355 | sllg %r4,%r4,32 # get high word of 64bit mask | ||
1356 | lr %r4,%r5 # get low word of 64bit mask | ||
1357 | llgfr %r5,%r6 # unsigned int | ||
1358 | llgt %r6,164(%r15) # char * | ||
1359 | jg sys_fanotify_mark # branch to system call | ||
1360 | |||
1361 | ENTRY(sys_prlimit64_wrapper) | 1352 | ENTRY(sys_prlimit64_wrapper) |
1362 | lgfr %r2,%r2 # pid_t | 1353 | lgfr %r2,%r2 # pid_t |
1363 | llgfr %r3,%r3 # unsigned int | 1354 | llgfr %r3,%r3 # unsigned int |
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 9f214e992eed..9605e063dc8b 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -341,7 +341,7 @@ SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev) | |||
341 | SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo) /* 330 */ | 341 | SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo) /* 330 */ |
342 | SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper) | 342 | SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper) |
343 | SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper) | 343 | SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper) |
344 | SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper) | 344 | SYSCALL(sys_fanotify_mark,sys_fanotify_mark,compat_sys_fanotify_mark) |
345 | SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper) | 345 | SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper) |
346 | SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */ | 346 | SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */ |
347 | SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at) | 347 | SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at) |