Re: [Qemu-devel] [PATCH v2] linux-user: add ppoll syscall support

2011-01-23 Thread Peter Maydell
On 23 January 2011 23:32, Mike Frysinger wrote: > +                if (arg3) > +                    target_to_host_timespec(timeout_ts, arg3); > +                else > +                    timeout_ts = NULL; Coding style mandates braces here. Also, target_to_host_timespec() can return non-zero i

[Qemu-devel] [PATCH v2] linux-user: add ppoll syscall support

2011-01-23 Thread Mike Frysinger
Some architectures (like Blackfin) only implement ppoll (and skip poll). So add support for it using existing poll code. Signed-off-by: Mike Frysinger --- v2 - call host ppoll() directly linux-user/syscall.c | 28 ++-- 1 files changed, 26 insertions(+), 2 delet