diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-02-09 12:24:28 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-09 12:24:37 -0500 |
commit | 1ee92a1c79b4a44586490a52132d105972374223 (patch) | |
tree | 8a9f85e33ce525e87cddfc710edd10bbe24f069f /arch/s390 | |
parent | 4e5f24a8fa075c251a1ca762eaf210332266e60a (diff) |
[S390] Wire up new timerfd syscalls.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 20 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 062c3d4c0394..743d54f0b8db 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1712,3 +1712,23 @@ sys_fallocate_wrapper: | |||
1712 | sllg %r5,%r6,32 # get high word of 64bit loff_t | 1712 | sllg %r5,%r6,32 # get high word of 64bit loff_t |
1713 | l %r5,164(%r15) # get low word of 64bit loff_t | 1713 | l %r5,164(%r15) # get low word of 64bit loff_t |
1714 | jg sys_fallocate | 1714 | jg sys_fallocate |
1715 | |||
1716 | .globl sys_timerfd_create_wrapper | ||
1717 | sys_timerfd_create_wrapper: | ||
1718 | lgfr %r2,%r2 # int | ||
1719 | lgfr %r3,%r3 # int | ||
1720 | jg sys_timerfd_create | ||
1721 | |||
1722 | .globl compat_sys_timerfd_settime_wrapper | ||
1723 | compat_sys_timerfd_settime_wrapper: | ||
1724 | lgfr %r2,%r2 # int | ||
1725 | lgfr %r3,%r3 # int | ||
1726 | llgtr %r4,%r4 # struct compat_itimerspec * | ||
1727 | llgtr %r5,%r5 # struct compat_itimerspec * | ||
1728 | jg compat_sys_timerfd_settime | ||
1729 | |||
1730 | .globl compat_sys_timerfd_gettime_wrapper | ||
1731 | compat_sys_timerfd_gettime_wrapper: | ||
1732 | lgfr %r2,%r2 # int | ||
1733 | llgtr %r3,%r3 # struct compat_itimerspec * | ||
1734 | jg compat_sys_timerfd_gettime | ||
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 25eac7802fc4..c87ec687d4c6 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -327,3 +327,6 @@ SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat_wrapper) /* 315 */ | |||
327 | SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd_wrapper) | 327 | SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd_wrapper) |
328 | NI_SYSCALL /* 317 old sys_timer_fd */ | 328 | NI_SYSCALL /* 317 old sys_timer_fd */ |
329 | SYSCALL(sys_eventfd,sys_eventfd,sys_eventfd_wrapper) | 329 | SYSCALL(sys_eventfd,sys_eventfd,sys_eventfd_wrapper) |
330 | SYSCALL(sys_timerfd_create,sys_timerfd_create,sys_timerfd_create_wrapper) | ||
331 | SYSCALL(sys_timerfd_settime,sys_timerfd_settime,compat_sys_timerfd_settime_wrapper) /* 320 */ | ||
332 | SYSCALL(sys_timerfd_gettime,sys_timerfd_gettime,compat_sys_timerfd_gettime_wrapper) | ||