]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
lib/spinlock_debug.c: print owner on spinlock lockup
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 5 Oct 2011 00:43:35 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:48 +0000 (17:49 +1100)
commit3f7f8a3a869d15e8155c9cf559a6c4d2300ae31a
tree855328df7ac498e85cc8dfb96f95099934c5d680
parentf4b023b807568e3c5f686fe7ce1c55807e8437dc
lib/spinlock_debug.c: print owner on spinlock lockup

When SPIN_BUG_ON is triggered, the lock owner information is reported.
But it is omitted when spinlock lockup is detected.

This information is useful especially on the architectures which don't
implement trigger_all_cpu_backtrace() that is called just after detecting
lockup.  So report it and also avoid message format duplication.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/spinlock_debug.c