aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2010-03-03 11:47:58 +0000
committerIngo Molnar <[email protected]>2010-03-04 12:13:28 +0100
commitda7196e1f986c846ffa8b2ec385223fad38e8518 (patch)
tree839241169823bf6201630afb16448ea131b73b65 /tools/perf/scripts/python/check-perf-trace.py
parent4f16d4e0c9a4b20d9f0db365587b96d6001efd7d (diff)
perf, ARM: Modify kuser rmb() call to compile for Thumb-2
The Thumb-2 instruction set does not provide an encoding for sub pc, r0, #95 as present in the rmb() definition used by perf. This results in compilation failure when using a compiler targetting an instruction set other than ARM. This patch redefines rmb() for ARM by casting the address of the kuser helper to a function pointer, therefore getting the compiler to take care of making the call. Patch taken against tip/master. Signed-off-by: Will Deacon <[email protected]> Cc: Russell King - ARM Linux <[email protected]> Cc: Jamie Iles <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions