parisc: Rework arch_rw locking functions
authorHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:29:55 +0000 (22:29 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:29:55 +0000 (22:29 +0200)
commitfbdc8f0f4891df7b5eb643ec0a509a4ac7dcfc2e
tree2b9f24d527be8924201713392c8a0f235b56e032
parent2772f0efd5bbd5413db3d22e363b779ca0fa5310
parisc: Rework arch_rw locking functions

Clean up the arch read/write locking functions based on the arc
implemenation. This improves readability of those functions.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/spinlock.h
arch/parisc/include/asm/spinlock_types.h