summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-05-27 01:16:25 +0300
committerBen Hutchings <ben@decadent.org.uk>2016-08-23 00:38:05 +0300
commita86f55da2b8dc301d14a64b18f43c93ef97066f0 (patch)
tree1fcb5169816a54749df3a51ad5b84a3432fb0d78 /lib/debugobjects.c
parent78d246457999e955c7d27f991401a17e975d63d6 (diff)
downloadlinux-a86f55da2b8dc301d14a64b18f43c93ef97066f0.tar.xz
dma-debug: avoid spinlock recursion when disabling dma-debug
commit 3017cd63f26fc655d56875aaf497153ba60e9edf upstream. With netconsole (at least) the pr_err("... disablingn") call can recurse back into the dma-debug code, where it'll try to grab free_entries_lock again. Avoid the problem by doing the printk after dropping the lock. Link: http://lkml.kernel.org/r/1463678421-18683-1-git-send-email-ville.syrjala@linux.intel.com Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions