Files
android_kernel_xiaomi_sm8450/kernel
Ingo Molnar 3a5f5e488c [PATCH] lockdep: core, fix rq-lock handling on __ARCH_WANT_UNLOCKED_CTXSW
On platforms that have __ARCH_WANT_UNLOCKED_CTXSW set and want to implement
lock validator support there's a bug in rq->lock handling: in this case we
dont 'carry over' the runqueue lock into another task - but still we did a
spinlock_release() of it.  Fix this by making the spinlock_release() in
context_switch() dependent on !__ARCH_WANT_UNLOCKED_CTXSW.

(Reported by Ralf Baechle on MIPS, which has __ARCH_WANT_UNLOCKED_CTXSW.
This fixes a lockdep-internal BUG message on such platforms.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-14 21:53:55 -07:00
..
2006-07-01 05:43:06 -04:00
2006-07-01 07:44:10 -04:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:26 -07:00
2006-03-26 08:57:03 -08:00
2005-10-08 15:00:57 -07:00
2006-06-26 09:58:22 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2005-04-16 15:20:36 -07:00
2006-07-14 21:53:53 -07:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00