diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2012-07-30 23:41:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:16 +0200 |
commit | 4b0681487bf72fdb86b42c93b7d8a607e5a426b1 (patch) | |
tree | 908da53ebb82951b1051f0c2021857fac9d7563f /lib/bsearch.c | |
parent | atomic64_test: simplify the #ifdef for atomic64_dec_if_positive() test (diff) | |
download | linux-4b0681487bf72fdb86b42c93b7d8a607e5a426b1.tar.xz linux-4b0681487bf72fdb86b42c93b7d8a607e5a426b1.zip |
spinlock_debug: print offset in addition to symbol name
If there are two spinlocks embedded in a structure that kallsyms knows
about and one of the spinlocks locks up we will print the name of the
containing structure instead of the address of the lock. This is quite
bad, so let's use %pS instead of %ps so we get an offset in addition to
the symbol so we can determine which particular lock is having problems.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions