]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/spinlock_debug.c: print owner on spinlock lockup
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 28 Sep 2011 00:50:45 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:40 +0000 (14:53 +1000)
commit3a3c4e32e9969a4532fb3351c2ef264dc68d1cce
treec5ddc9f619d3573396760cc26f625c8bb7a3c37f
parent89379a6c0978ffb8a97216c23b02dc82ca33a96d
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 <>
lib/spinlock_debug.c