summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorJamie Iles <jamie.iles@picochip.com>2009-12-11 12:20:09 +0000
committerIngo Molnar <mingo@elte.hu>2009-12-11 13:50:21 +0100
commit58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f (patch)
treecaa7d67b5b8f48a8f04ae908e89b7c9a00c852e0 /tools/perf/util/symbol.h
parent99ac64c826e62a07e5818cfde620be4d524f1edf (diff)
downloadlinux-58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f.tar.bz2
perf tools: Allow building for ARM
Add definitions of rmb() and cpu_relax() and include the ARM unistd.h header. The __kuser_memory_barrier helper in the helper page is used to provide the correct memory barrier depending on the CPU type. [ The rmb() will work on v6 and v7, segfault on v5. Dynamic detection to add v5 support will be added later. ] Signed-off-by: Jamie Iles <jamie.iles@picochip.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mikael Pettersson <mikpe@it.uu.se> LKML-Reference: <1260534009-5394-1-git-send-email-jamie.iles@picochip.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.h')
0 files changed, 0 insertions, 0 deletions