perf, MIPS: Support cross compiling of tools/perf for MIPS
authorDeng-Cheng Zhu <dengcheng.zhu@gmail.com>
Tue, 12 Oct 2010 11:33:33 +0000 (19:33 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 12 Oct 2010 11:34:37 +0000 (13:34 +0200)
commitc1e028ef40b8d6943b767028ba17d4f2ba020edb
treefd8c23191be74b5e25a2c05b60368d139ec31da9
parentad0cf3478de8677f720ee06393b3147819568d6a
perf, MIPS: Support cross compiling of tools/perf for MIPS

Changes:
 v4: Fix the cosmetic issue of redundant dot-ops
 v3: Change rmb() to use SYNC
 v2: Include mips unistd.h and define rmb()/cpu_relax() in tools/perf/perf.h

Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/perf.h