linux-mips
[Top] [All Lists]

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

To: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Subject: Re: [PATCH v6 7/7] MIPS: define local_xchg from xchg_local to atomic_long_xchg
From: Matt Fleming <matt@console-pimps.org>
Date: Wed, 22 Sep 2010 13:32:22 +0100
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
In-reply-to: <1276058130-25851-8-git-send-email-dengcheng.zhu@gmail.com>
References: <1276058130-25851-1-git-send-email-dengcheng.zhu@gmail.com> <1276058130-25851-8-git-send-email-dengcheng.zhu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
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>