[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/12 v9] linux-user/syscall.c: conditionalize s
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 05/12 v9] linux-user/syscall.c: conditionalize syscalls which are not defined in tilegx |
Date: |
Thu, 9 Apr 2015 22:46:52 +0100 |
On 27 March 2015 at 10:53, Chen Gang <address@hidden> wrote:
> For tilegx, several syscall macros are not supported, so switch them to
> avoid building break.
>
> Signed-off-by: Chen Gang <address@hidden>
> +#ifdef TARGET_NR_getpgrp
> case TARGET_NR_getpgrp:
> ret = get_errno(getpgrp());
> break;
> case TARGET_NR_setsid:
> ret = get_errno(setsid());
> break;
> +#endif
This looks wrong -- your ifdef for NR_getpgrp is covering
the setsid syscall too.
-- PMM
- Re: [Qemu-devel] [PATCH 05/12 v9] linux-user/syscall.c: conditionalize syscalls which are not defined in tilegx,
Peter Maydell <=