Skip to contentSkip to conversation

linux-user: fix support for timerfd_create on arm

PATCH In review Andreas Schwab 2 participants 3 messages May 12, 2015 – May 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: fix support for timerfd_create on arm

On arm the original timerfd syscall was reused for the new timerfd_create syscall.

---
 linux-user/arm/syscall_nr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/arm/syscall_nr.h +1 -1
index 7d7be7c..53552be 100644
@@ -354,7 +354,7 @@
 #define TARGET_NR_kexec_load			(347)
 #define TARGET_NR_utimensat			(348)
 #define TARGET_NR_signalfd			(349)
-#define TARGET_NR_timerfd			(350)
+#define TARGET_NR_timerfd_create		(350)
 #define TARGET_NR_eventfd			(351)
 #define TARGET_NR_fallocate			(352)
 #define TARGET_NR_timerfd_settime		(353)
Signature · 6 lines
2.4.0

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
#1 lore raw
Quoted 13 lines · Andreas Schwab

On arm the original timerfd syscall was reused for the new timerfd_create syscall.

---
 linux-user/arm/syscall_nr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/arm/syscall_nr.h +0 -0
index 7d7be7c..53552be 100644

linux-user/arm/syscall_nr.h line 360

Quoted 8 lines
linux-user/arm/syscall_nr.h +1 -1
@@ -354,7 +354,7 @@
 #define TARGET_NR_kexec_load                   (347)
 #define TARGET_NR_utimensat                    (348)
 #define TARGET_NR_signalfd                     (349)
-#define TARGET_NR_timerfd                      (350)
+#define TARGET_NR_timerfd_create               (350)
 #define TARGET_NR_eventfd                      (351)
 #define TARGET_NR_fallocate                    (352)
 #define TARGET_NR_timerfd_settime              (353)

Thanks for this patch; it's a dup of this one already on-list and reviewed:
http://patchwork.ozlabs.org/patch/459490/

Riku: ping? or should I just take this via target-arm?

thanks
-- PMM

#2 lore raw
Quoted 5 lines · Peter Maydell

Thanks for this patch; it's a dup of this one already on-list and reviewed:
http://patchwork.ozlabs.org/patch/459490/

Riku: ping? or should I just take this via target-arm?

I went ahead and did the latter, since I'm doing a pullreq anyway.

thanks
-- PMM