From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from are.twiddle.net (are.twiddle.net [75.149.56.221]) by ozlabs.org (Postfix) with ESMTP id 73E5FDDFD5 for ; Wed, 15 Apr 2009 02:17:20 +1000 (EST) Message-ID: <49E4B70F.1030304@twiddle.net> Date: Tue, 14 Apr 2009 09:17:19 -0700 From: Richard Henderson MIME-Version: 1.0 To: Paul Mackerras Subject: Re: [PATCH] powerpc: Fix bug in __futex_atomic_op References: <18915.54309.632699.346771@cargo.ozlabs.ibm.com> In-Reply-To: <18915.54309.632699.346771@cargo.ozlabs.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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~