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.