diff options
author | Haggai Eran <[email protected]> | 2015-07-17 16:24:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-07-17 16:39:53 -0700 |
commit | c9d120b0b2b5069cb2ae62f8eac0cef31c8544be (patch) | |
tree | 5007001027c48ccc5c9717326bbc5666785634cb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0f70fe605fad0f3215818ba79fc12617c0ec7f90 (diff) |
dma-debug: skip debug_dma_assert_idle() when disabled
If dma-debug is disabled due to a memory error, DMA unmaps do not affect
the dma_active_cacheline radix tree anymore, and debug_dma_assert_idle()
can print false warnings.
Disable debug_dma_assert_idle() when dma_debug_disabled() is true.
Signed-off-by: Haggai Eran <[email protected]>
Fixes: 0abdd7a81b7e ("dma-debug: introduce debug_dma_assert_idle()")
Cc: Dan Williams <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Russell King <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Sebastian Ott <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Horia Geanta <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions