]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc82b6e55433c855afba23fef0d1a76e9061b13f
tree6454ea28d3de7c9533e10ce6f57756b8e6e4eedf
parente5d0e5c1cb4470df900dca3cc15a90c1057fa964
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