Files
android_kernel_xiaomi_sm8450/include/linux/debug_locks.h
Andrew Morton 53b9d87f41 lock debug: sit tight when we are already in a panic
in:

  > http://bugzilla.kernel.org/show_bug.cgi?id=11543

The panic code called the kexec code which called mutex_trylock() which
called spin_lock_mutex() which then stupidly went and blurted a load of
debug stuff because of in_interrupt().

Keep the lock debug code from escallating an already crappy situation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-12 11:11:21 +02:00

1.5 KiB