diff mbox

linux-user: do not warn for missing pselect6

Message ID 1273235285-27574-1-git-send-email-riku.voipio@nokia.com
State New
Headers show

Commit Message

riku.voipio@nokia.com May 7, 2010, 12:28 p.m. UTC
Libc will fallback gracefully if pselect6 is not available. Thus put
pselect6 to nowarn until the atomicity issues of the original pselect6
patch are dealt with.

Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Cc: Michael Casadevall <mcasadevall@ubuntu.com>
---
 linux-user/syscall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

Aurelien Jarno May 21, 2010, 4:47 p.m. UTC | #1
On Fri, May 07, 2010 at 12:28:05PM +0000, Riku Voipio wrote:
> Libc will fallback gracefully if pselect6 is not available. Thus put
> pselect6 to nowarn until the atomicity issues of the original pselect6
> patch are dealt with.
> 
> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
> Cc: Michael Casadevall <mcasadevall@ubuntu.com>

Thanks, applied.

> ---
>  linux-user/syscall.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 17599eb..09c16dc 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -5199,6 +5199,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
>          }
>          break;
>  #endif
> +#ifdef TARGET_NR_pselect6
> +    case TARGET_NR_pselect6:
> +	    goto unimplemented_nowarn;
> +#endif
>      case TARGET_NR_symlink:
>          {
>              void *p2;
> -- 
> 1.6.5
> 
> 
> 
>
diff mbox

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 17599eb..09c16dc 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -5199,6 +5199,10 @@  abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         }
         break;
 #endif
+#ifdef TARGET_NR_pselect6
+    case TARGET_NR_pselect6:
+	    goto unimplemented_nowarn;
+#endif
     case TARGET_NR_symlink:
         {
             void *p2;