X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2FKconfig.locks;h=61ebb49bdee89e6705c0c80eb1e07251ab5ed2ea;hb=e095ecdc5b0052d8612f9e0ff35e7300295d99bd;hp=5068e2a4e75f05f3c1b823b79ae67c94ffc09130;hpb=1f2d9c9dd8276b1c19ef80e6d8059fe47506d4c3;p=pandora-kernel.git diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index 5068e2a4e75f..61ebb49bdee8 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks @@ -198,5 +198,9 @@ config INLINE_WRITE_UNLOCK_IRQ config INLINE_WRITE_UNLOCK_IRQRESTORE def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE +config ARCH_SUPPORTS_ATOMIC_RMW + bool + config MUTEX_SPIN_ON_OWNER - def_bool SMP && !DEBUG_MUTEXES + def_bool y + depends on SMP && !DEBUG_MUTEXES && ARCH_SUPPORTS_ATOMIC_RMW