aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-03-23 23:27:12 +0900
committerStafford Horne <shorne@gmail.com>2017-11-03 14:01:12 +0900
commit489e0f802db708c69004f64d92a3e1b70731614a (patch)
tree73f0b4010d05cad70a4bb60ac251f6222783b750 /tools/perf/scripts/python/export-to-postgresql.py
parentopenrisc: use shadow registers to save regs on exception (diff)
downloadlinux-dev-489e0f802db708c69004f64d92a3e1b70731614a.tar.xz
linux-dev-489e0f802db708c69004f64d92a3e1b70731614a.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions