diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2011-10-31 17:12:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 17:30:56 -0700 |
commit | 4e101b0e6aa885f5786a058eefc1ce4b7cc7c44e (patch) | |
tree | 427a6aa51ec4a278bcfc749d4a8129cf9fe20f83 /lib/rwsem-spinlock.c | |
parent | 1dff46d6987484eaa31f2fb1425216ba06418be3 (diff) | |
download | op-kernel-dev-4e101b0e6aa885f5786a058eefc1ce4b7cc7c44e.zip op-kernel-dev-4e101b0e6aa885f5786a058eefc1ce4b7cc7c44e.tar.gz |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions