Subject: Re: [PATCH] powerpc: Fix bug in __futex_atomic_op

From: Richard Henderson <[email-masked]>
Date: Tue, 14 Apr 2009 09:17:19 -0700

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~