parisc: Improve spinlock handling
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 2 Oct 2020 19:41:52 +0000 (21:41 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 15 Oct 2020 06:10:39 +0000 (08:10 +0200)
commitf173e3a751708b7f5e0b77dcdd4ac3c2287b735e
tree6454ea28d3de7c9533e10ce6f57756b8e6e4eedf
parentb47cf497469fae14fcbf63526150c8c71e636c20
parisc: Improve spinlock handling

Use READ_ONCE() to check if spinlock is locked.
The other changes are cleanups.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/spinlock.h