linux-mips
[Top] [All Lists]

Re: [PATCH v6 7/7] MIPS: define local_xchg from xchg_local to atomic_lon

To: Matt Fleming <matt@console-pimps.org>
Subject: Re: [PATCH v6 7/7] MIPS: define local_xchg from xchg_local to atomic_long_xchg
From: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Date: Thu, 23 Sep 2010 15:56:33 +0800
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, a.p.zijlstra@chello.nl, paulus@samba.org, mingo@elte.hu, acme@redhat.com, jamie.iles@picochip.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=hC7dxC8GWn7nxnUv+8v6jdbc8XjJFOA9KC4BfMFoJ3w=; b=k2R++S1KOWNaiGtqQ2XBr4c92GGf3GH94LekSO+O/POvT1i7JBLO/0Xc2Yk847S43D +i849HjO6MkVp2jYqS0Gg3r6TQ1b3t7lax27bffLRDlbfGb7utk/p5Zr95+je2/Huaj3 HCj9/DtgyGVtQ24VaFkl6T/dTKmRUfNwB9oyg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XzWqtNyEfJuGPNyMJw+YGbwgrOxLjR+fdgOfQlZ0ouxREnO6D6xMVnYNDWJO1GkE4z Y7wNGDZx37WN5ar8qfCW2e0c2MyjoT39F5TMWH1NaEeQ3J6WZ7xTD2wao6Ol67L4JNFc yN8gCKq7PuKzSFvizOcApxU4q+YuGNQ/5q6EY=
In-reply-to: <20100922123221.GA16333@console-pimps.org>
References: <1276058130-25851-1-git-send-email-dengcheng.zhu@gmail.com> <1276058130-25851-8-git-send-email-dengcheng.zhu@gmail.com> <20100922123221.GA16333@console-pimps.org>
Sender: linux-mips-bounce@linux-mips.org
Yes, it's here only to pass the compiling (coz the Perf core had evolved
since the v5 of this patchset). Since the file it touches is stand-alone,
it can be applied earlier than the rest (like the patch #2).


Deng-Cheng


2010/9/22 Matt Fleming <matt@console-pimps.org>:
> On Wed, Jun 09, 2010 at 12:35:30PM +0800, Deng-Cheng Zhu wrote:
>> Perf-events is now using local_t helper functions internally. There is a
>> use of local_xchg(). On MIPS, this is defined to xchg_local() which is
>> missing in asm/system.h. This patch re-defines local_xchg() in asm/local.h
>> to atomic_long_xchg(). Then Perf-events can pass the build.
>>
>> Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
>
> Is this a separate issue from the rest of this patch series? In any
> event, it's probably worth moving this earlier in the patch series so
> as not to break bisect.
>

<Prev in Thread] Current Thread [Next in Thread>