diff options
author | Jamie Iles <[email protected]> | 2009-12-11 12:20:09 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-11 13:50:21 +0100 |
commit | 58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f (patch) | |
tree | caa7d67b5b8f48a8f04ae908e89b7c9a00c852e0 /net/lapb/lapb_iface.c | |
parent | 99ac64c826e62a07e5818cfde620be4d524f1edf (diff) |
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 <[email protected]>
Cc: Russell King <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mikael Pettersson <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions