diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2005-08-02 00:11:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-02 00:37:59 -0400 |
commit | d2013485a52fb7ece48e5688b443cc098f4dbbdf (patch) | |
tree | f6efcdeb69996a3d1430ba70d291a63144eb3454 /arch/s390 | |
parent | 5d3f229fcd4409d3e182b204defc122eb7833535 (diff) |
[PATCH] s390: ioprio & inotify system calls.
Add system calls for io priorities and inotify.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 26 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 5 |
2 files changed, 31 insertions, 0 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 799a98eac92d..23fe94e58688 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1449,3 +1449,29 @@ compat_sys_kexec_load_wrapper: | |||
1449 | llgtr %r4,%r4 # struct kexec_segment * | 1449 | llgtr %r4,%r4 # struct kexec_segment * |
1450 | llgfr %r5,%r5 # unsigned long | 1450 | llgfr %r5,%r5 # unsigned long |
1451 | jg compat_sys_kexec_load | 1451 | jg compat_sys_kexec_load |
1452 | |||
1453 | .globl sys_ioprio_set_wrapper | ||
1454 | sys_ioprio_set_wrapper: | ||
1455 | lgfr %r2,%r2 # int | ||
1456 | lgfr %r3,%r3 # int | ||
1457 | lgfr %r4,%r4 # int | ||
1458 | jg sys_ioprio_set | ||
1459 | |||
1460 | .globl sys_ioprio_get_wrapper | ||
1461 | sys_ioprio_get_wrapper: | ||
1462 | lgfr %r2,%r2 # int | ||
1463 | lgfr %r3,%r3 # int | ||
1464 | jg sys_ioprio_get | ||
1465 | |||
1466 | .globl sys_inotify_add_watch_wrapper | ||
1467 | sys_inotify_add_watch_wrapper: | ||
1468 | lgfr %r2,%r2 # int | ||
1469 | llgtr %r3,%r3 # const char * | ||
1470 | llgfr %r4,%r4 # u32 | ||
1471 | jg sys_inotify_add_watch | ||
1472 | |||
1473 | .globl sys_inotify_rm_watch_wrapper | ||
1474 | sys_inotify_rm_watch_wrapper: | ||
1475 | lgfr %r2,%r2 # int | ||
1476 | llgfr %r3,%r3 # u32 | ||
1477 | jg sys_inotify_rm_watch | ||
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index a8668afb5f87..426d7cafdab3 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -290,3 +290,8 @@ SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key_wrapper) | |||
290 | SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key_wrapper) | 290 | SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key_wrapper) |
291 | SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl) /* 280 */ | 291 | SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl) /* 280 */ |
292 | SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid_wrapper) | 292 | SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid_wrapper) |
293 | SYSCALL(sys_ioprio_set,sys_ioprio_set,sys_ioprio_set_wrapper) | ||
294 | SYSCALL(sys_ioprio_get,sys_ioprio_get,sys_ioprio_get_wrapper) | ||
295 | SYSCALL(sys_inotify_init,sys_inotify_init,sys_inotify_init) | ||
296 | SYSCALL(sys_inotify_add_watch,sys_inotify_add_watch,sys_inotify_add_watch_wrapper) | ||
297 | SYSCALL(sys_inotify_rm_watch,sys_inotify_rm_watch,sys_inotify_rm_watch_wrapper) | ||