Patchwork [2/4] linux-user: Add the syscall id for pselect6 on ARM

login
register
mail settings
Submitter Riku Voipio
Date March 26, 2010, 3:25 p.m.
Message ID <24d55bf05f43067a28600e3d2dba8c2a2c6ee76d.1269616764.git.riku.voipio@nokia.com>
Download mbox | patch
Permalink /patch/48655/
State New
Headers show

Comments

Riku Voipio - March 26, 2010, 3:25 p.m.
From: Michael Casadevall <mcasadevall@ubuntu.com>

As this is now supported in newer linux kernels.

Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
---
 linux-user/arm/syscall_nr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Aurelien Jarno - March 26, 2010, 10:13 p.m.
On Fri, Mar 26, 2010 at 03:25:10PM +0000, Riku Voipio wrote:
> From: Michael Casadevall <mcasadevall@ubuntu.com>
> 
> As this is now supported in newer linux kernels.
> 
> Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>
> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
> ---
>  linux-user/arm/syscall_nr.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied.

> diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
> index b1db341..79a216a 100644
> --- a/linux-user/arm/syscall_nr.h
> +++ b/linux-user/arm/syscall_nr.h
> @@ -338,7 +338,7 @@
>  #define TARGET_NR_readlinkat			(332)
>  #define TARGET_NR_fchmodat			(333)
>  #define TARGET_NR_faccessat			(334)
> -					/* 335 for pselect6 */
> +#define TARGET_NR_pselect6			(335)
>  					/* 336 for ppoll */
>  #define TARGET_NR_unshare			(337)
>  #define TARGET_NR_set_robust_list		(338)
> -- 
> 1.6.5
> 
> 
> 
>

Patch

diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
index b1db341..79a216a 100644
--- a/linux-user/arm/syscall_nr.h
+++ b/linux-user/arm/syscall_nr.h
@@ -338,7 +338,7 @@ 
 #define TARGET_NR_readlinkat			(332)
 #define TARGET_NR_fchmodat			(333)
 #define TARGET_NR_faccessat			(334)
-					/* 335 for pselect6 */
+#define TARGET_NR_pselect6			(335)
 					/* 336 for ppoll */
 #define TARGET_NR_unshare			(337)
 #define TARGET_NR_set_robust_list		(338)