[Top] [All Lists]

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

To: Matt Fleming <>
Subject: Re: [PATCH v6 7/7] MIPS: define local_xchg from xchg_local to atomic_long_xchg
From: Deng-Cheng Zhu <>
Date: Thu, 23 Sep 2010 15:56:33 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
References: <> <> <>
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).


2010/9/22 Matt Fleming <>:
> 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 <>
> 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>