* [PATCH] MIPS: Use 32-bit compatibility wrapers for sys_timerfd_{g,s}ettime
@ 2009-04-16 16:20 David Daney
2009-04-17 16:40 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2009-04-16 16:20 UTC (permalink / raw)
To: linux-mips, ralf; +Cc: David Daney
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>
---
arch/mips/kernel/scall64-n32.S | 4 ++--
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 c2c16ef..93cc672 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -405,8 +405,8 @@ EXPORT(sysn32_call_table)
PTR sys_eventfd
PTR sys_fallocate
PTR sys_timerfd_create
- PTR sys_timerfd_gettime /* 5285 */
- PTR sys_timerfd_settime
+ PTR compat_sys_timerfd_gettime /* 5285 */
+ PTR compat_sys_timerfd_settime
PTR sys_signalfd4
PTR sys_eventfd2
PTR sys_epoll_create1
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index 002fac2..a5598b2 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -525,8 +525,8 @@ sys_call_table:
PTR sys_eventfd
PTR sys32_fallocate /* 4320 */
PTR sys_timerfd_create
- PTR sys_timerfd_gettime
- PTR sys_timerfd_settime
+ PTR compat_sys_timerfd_gettime
+ PTR compat_sys_timerfd_settime
PTR compat_sys_signalfd4
PTR sys_eventfd2 /* 4325 */
PTR sys_epoll_create1
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: Use 32-bit compatibility wrapers for sys_timerfd_{g,s}ettime
2009-04-16 16:20 [PATCH] MIPS: Use 32-bit compatibility wrapers for sys_timerfd_{g,s}ettime David Daney
@ 2009-04-17 16:40 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-04-17 16:40 UTC (permalink / raw)
To: David Daney; +Cc: linux-mips
On Thu, Apr 16, 2009 at 09:20:17AM -0700, David Daney wrote:
> The LTP timerfd01 test is failing (blocking forever) on the 32-bit
> ABIs. We need to use the compat_* wrappers for these system calls.
Thanks, applied to 2.6.25-stable and up.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-17 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 16:20 [PATCH] MIPS: Use 32-bit compatibility wrapers for sys_timerfd_{g,s}ettime David Daney
2009-04-17 16:40 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).