locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage
[platform/adaptation/renesas_rcar/renesas_kernel.git] / lib / Kconfig.debug
index 05037dc..f32a41f 100644 (file)
@@ -499,6 +499,7 @@ config RT_MUTEX_TESTER
 config DEBUG_SPINLOCK
        bool "Spinlock and rw-lock debugging: basic checks"
        depends on DEBUG_KERNEL
+       select UNINLINE_SPIN_UNLOCK
        help
          Say Y here and build SMP to catch missing spinlock initialization
          and certain other kinds of spinlock errors commonly made.  This is