summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-28 15:50:48 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-04-12 08:43:33 +0200
commit02c503ff237cdcd8e012a122a638295550db10a5 (patch)
treecb5af588f282809cab4d37b1d4a6847814cda5ee /arch/s390/kernel
parentdf26c2e87e6cf3ced1fbd589e40d633a6a7f20cb (diff)
downloadlinux-02c503ff237cdcd8e012a122a638295550db10a5.tar.bz2
s390/spinlock: use atomic primitives for spinlocks
Add a couple more __atomic_xxx function to atomic_ops.h and use them to replace the compare-and-swap inlines in the spinlock code. This changes the type of the lock value from unsigned int to int. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions