diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-11-28 15:50:48 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-04-12 08:43:33 +0200 |
commit | 02c503ff237cdcd8e012a122a638295550db10a5 (patch) | |
tree | cb5af588f282809cab4d37b1d4a6847814cda5ee /arch/s390/mm | |
parent | df26c2e87e6cf3ced1fbd589e40d633a6a7f20cb (diff) |
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/mm')
0 files changed, 0 insertions, 0 deletions