parisc: Improve interrupt handling in arch_spin_lock_flags()
authorHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:08:07 +0000 (22:08 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:16:38 +0000 (22:16 +0200)
commit2772f0efd5bbd5413db3d22e363b779ca0fa5310
treef45c9fbcc4d43af0290ab167579ab8ea6d00a409
parent997ba6573685451c37005a5b74a4baa3c16b5231
parisc: Improve interrupt handling in arch_spin_lock_flags()

Rewrite arch_spin_lock() and arch_spin_lock_flags() to not re-enable and
disable the PSW_SM_I interrupt flag too often.

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