aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorVladimir Murzin <[email protected]>2014-04-27 10:09:12 +0100
committerDavid Vrabel <[email protected]>2014-04-28 11:09:40 +0100
commit05a812ac474d0d6aef6d54b66bb08b81abde79c6 (patch)
tree016ab4001a17411758548428af3c4cced70cb052 /tools/perf/util/trace-event-scripting.c
parent063aa8e68e53cc0d0961ea90c12cea40c6b94828 (diff)
xen/events/fifo: correctly align bitops
FIFO event channels require bitops on 32-bit aligned values (the event words). Linux's bitops require unsigned long alignment which may be 64-bits. On arm64 an incorrectly unaligned access will fault. Fix this by aligning the bitops along with an adjustment for bit position and using an unsigned long for the local copy of the ready word. Cc: [email protected] Signed-off-by: Vladimir Murzin <[email protected]> Tested-by: Pranavkumar Sawargaonkar <[email protected]> Reviewed-by: Ian Campbell <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions