aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2022-01-04 21:48:11 +0000
committerHelge Deller <deller@gmx.de>2022-01-07 01:29:21 +0100
commit72c3dd8207de4178ae50553666129af7231f86e7 (patch)
tree023307e7d55f51203c55ced80fc5006653a22086 /scripts/gdb/linux/dmesg.py
parentd0585d742ff2d82accd26c661c60a6d260429c4a (diff)
downloadlinux-72c3dd8207de4178ae50553666129af7231f86e7.tar.gz
linux-72c3dd8207de4178ae50553666129af7231f86e7.tar.bz2
linux-72c3dd8207de4178ae50553666129af7231f86e7.zip
parisc: Add lws_atomic_xchg and lws_atomic_store syscalls
This patch adds two new LWS routines - lws_atomic_xchg and lws_atomic_store. These are simpler than the CAS routines. Currently, we use the CAS routines for atomic stores. This is inefficient since it requires both winning the spinlock and a successful CAS operation. Change has been tested on c8000 and rp3440. In v2, I moved the code to disble/enable page faults inside the spinlocks. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions