aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-03-23 10:27:12 -0400
committerStafford Horne <shorne@gmail.com>2017-11-03 01:01:12 -0400
commit489e0f802db708c69004f64d92a3e1b70731614a (patch)
tree73f0b4010d05cad70a4bb60ac251f6222783b750 /tools/perf/scripts/python/exported-sql-viewer.py
parent91993c8c2ed52781a0f42bf7f40e28adc96e2bb2 (diff)
openrisc: add 1 and 2 byte cmpxchg support
OpenRISC only supports hardware instructions that perform 4 byte atomic operations. For enabling qrwlocks for upcoming SMP support 1 and 2 byte implementations are needed. To do this we leverage the 4 byte atomic operations and shift/mask the 1 and 2 byte areas as needed. This heavily borrows ideas and routines from sh and mips, which do something similar. Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions