commit | 02c503ff237cdcd8e012a122a638295550db10a5 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Nov 28 15:50:48 2016 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Apr 12 08:43:33 2017 +0200 |
tree | cb5af588f282809cab4d37b1d4a6847814cda5ee | |
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>