]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/Kconfig.locks
locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage
[karo-tx-linux.git] / kernel / Kconfig.locks
index 5068e2a4e75f05f3c1b823b79ae67c94ffc09130..2251882daf53211745a35321589386e265640c07 100644 (file)
@@ -124,8 +124,8 @@ config INLINE_SPIN_LOCK_IRQSAVE
        def_bool !DEBUG_SPINLOCK && !GENERIC_LOCKBREAK && \
                 ARCH_INLINE_SPIN_LOCK_IRQSAVE
 
-config INLINE_SPIN_UNLOCK
-       def_bool !DEBUG_SPINLOCK && (!PREEMPT || ARCH_INLINE_SPIN_UNLOCK)
+config UNINLINE_SPIN_UNLOCK
+       bool
 
 config INLINE_SPIN_UNLOCK_BH
        def_bool !DEBUG_SPINLOCK && ARCH_INLINE_SPIN_UNLOCK_BH