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@xxxxxxxxxxxxxxxxx>: > 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@xxxxxxxxx> > > 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. >