diff mbox

linux-user: fix support for timerfd_create on arm

Message ID mvm617ynfq3.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab May 12, 2015, 12:27 p.m. UTC
On arm the original timerfd syscall was reused for the new timerfd_create
syscall.

Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 linux-user/arm/syscall_nr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell May 18, 2015, 4:42 p.m. UTC | #1
On 12 May 2015 at 13:27, Andreas Schwab <schwab@suse.de> wrote:
> On arm the original timerfd syscall was reused for the new timerfd_create
> syscall.
>
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>  linux-user/arm/syscall_nr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
> index 7d7be7c..53552be 100644
> --- a/linux-user/arm/syscall_nr.h
> +++ b/linux-user/arm/syscall_nr.h
> @@ -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
Peter Maydell May 18, 2015, 7:15 p.m. UTC | #2
On 18 May 2015 at 17:42, Peter Maydell <peter.maydell@linaro.org> wrote:
> 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
diff mbox

Patch

diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
index 7d7be7c..53552be 100644
--- a/linux-user/arm/syscall_nr.h
+++ b/linux-user/arm/syscall_nr.h
@@ -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)