]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c94e87dd04344f409dfeb83b89c53466363c652
treef45c9fbcc4d43af0290ab167579ab8ea6d00a409
parentc5bc35d9ffa5f55b82468470f8114abe5da8de75
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