Re: [Qemu-devel] [PATCH] linux-user: Fix unlock_user() call in return from poll()

2011-03-22 Thread Aurelien Jarno
On Fri, Feb 25, 2011 at 10:27:40AM +, Peter Maydell wrote: Correct the broken attempt to calculate the third argument to unlock_user() in the code path which unlocked the pollfd array on return from poll() and ppoll() emulation. (This only caused a problem if unlock_user() wasn't a no-op,

[Qemu-devel] [PATCH] linux-user: Fix unlock_user() call in return from poll()

2011-02-25 Thread Peter Maydell
Correct the broken attempt to calculate the third argument to unlock_user() in the code path which unlocked the pollfd array on return from poll() and ppoll() emulation. (This only caused a problem if unlock_user() wasn't a no-op, eg if DEBUG_REMAP is defined.) Signed-off-by: Peter Maydell