Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Daney and committed by
Ralf Baechle
c7d16736 592e527f

+4 -4
+2 -2
arch/mips/kernel/scall64-n32.S
··· 405 405 PTR sys_eventfd 406 406 PTR sys_fallocate 407 407 PTR sys_timerfd_create 408 - PTR sys_timerfd_gettime /* 5285 */ 409 - PTR sys_timerfd_settime 408 + PTR compat_sys_timerfd_gettime /* 5285 */ 409 + PTR compat_sys_timerfd_settime 410 410 PTR sys_signalfd4 411 411 PTR sys_eventfd2 412 412 PTR sys_epoll_create1
+2 -2
arch/mips/kernel/scall64-o32.S
··· 525 525 PTR sys_eventfd 526 526 PTR sys32_fallocate /* 4320 */ 527 527 PTR sys_timerfd_create 528 - PTR sys_timerfd_gettime 529 - PTR sys_timerfd_settime 528 + PTR compat_sys_timerfd_gettime 529 + PTR compat_sys_timerfd_settime 530 530 PTR compat_sys_signalfd4 531 531 PTR sys_eventfd2 /* 4325 */ 532 532 PTR sys_epoll_create1