diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-04-16 12:20:17 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 08:50:25 -0400 |
commit | c7d16736b8759f45a49d318bf3a8ca7fed7b6962 (patch) | |
tree | 8833e5f0d1a570171f15cb8041077fc0d33bf8bd /arch/mips | |
parent | 592e527f5b7c17e9be8fc58a63c3f918827b4b92 (diff) |
MIPS: Compat: Use generic 32-bit wrapers for sys_timerfd_{g,s}ettime
The LTP timerfd01 test is failing (blocking forever) on the 32-bit ABIs. We
need to use the compat_* wrappers for these system calls.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/scall64-n32.S | 4 | ||||
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S index c2c16ef9218f..93cc672f4522 100644 --- a/arch/mips/kernel/scall64-n32.S +++ b/arch/mips/kernel/scall64-n32.S | |||
@@ -405,8 +405,8 @@ EXPORT(sysn32_call_table) | |||
405 | PTR sys_eventfd | 405 | PTR sys_eventfd |
406 | PTR sys_fallocate | 406 | PTR sys_fallocate |
407 | PTR sys_timerfd_create | 407 | PTR sys_timerfd_create |
408 | PTR sys_timerfd_gettime /* 5285 */ | 408 | PTR compat_sys_timerfd_gettime /* 5285 */ |
409 | PTR sys_timerfd_settime | 409 | PTR compat_sys_timerfd_settime |
410 | PTR sys_signalfd4 | 410 | PTR sys_signalfd4 |
411 | PTR sys_eventfd2 | 411 | PTR sys_eventfd2 |
412 | PTR sys_epoll_create1 | 412 | PTR sys_epoll_create1 |
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 002fac27021e..a5598b2339dd 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S | |||
@@ -525,8 +525,8 @@ sys_call_table: | |||
525 | PTR sys_eventfd | 525 | PTR sys_eventfd |
526 | PTR sys32_fallocate /* 4320 */ | 526 | PTR sys32_fallocate /* 4320 */ |
527 | PTR sys_timerfd_create | 527 | PTR sys_timerfd_create |
528 | PTR sys_timerfd_gettime | 528 | PTR compat_sys_timerfd_gettime |
529 | PTR sys_timerfd_settime | 529 | PTR compat_sys_timerfd_settime |
530 | PTR compat_sys_signalfd4 | 530 | PTR compat_sys_signalfd4 |
531 | PTR sys_eventfd2 /* 4325 */ | 531 | PTR sys_eventfd2 /* 4325 */ |
532 | PTR sys_epoll_create1 | 532 | PTR sys_epoll_create1 |