[PATCH] powerpc: Fix bug in __futex_atomic_op

Richard Henderson rth at twiddle.net
Wed Apr 15 02:17:19 EST 2009


Paul Mackerras wrote:
> Can anyone see any reason why the FUTEX_OP_SET case can't just do a
> __put_user?

Because you need to return the old value.  Despite the name,
it's an exchange operation not a set.


r~



More information about the Linuxppc-dev mailing list