diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2012-07-30 14:41:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 17:25:16 -0700 |
commit | 4b0681487bf72fdb86b42c93b7d8a607e5a426b1 (patch) | |
tree | 908da53ebb82951b1051f0c2021857fac9d7563f /lib/kstrtox.h | |
parent | 7463449b8287162454d7e00bf7fd2c64f72c1dc8 (diff) |
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/kstrtox.h')
0 files changed, 0 insertions, 0 deletions