diff options
author | 2015-08-17 10:41:59 +0200 | |
---|---|---|
committer | 2015-08-17 10:41:59 +0200 | |
commit | 5461bd81bf7f86503f393b0b1d57e69b1f1bd44e (patch) | |
tree | 25ec4a2f43019c4d7cc76eb6a967ec450add9401 /lib/dma-debug.c | |
parent | x86/boot: Obsolete the MCA sys_desc_table (diff) | |
parent | Linux 4.2-rc7 (diff) | |
download | wireguard-linux-5461bd81bf7f86503f393b0b1d57e69b1f1bd44e.tar.xz wireguard-linux-5461bd81bf7f86503f393b0b1d57e69b1f1bd44e.zip |
Merge tag 'v4.2-rc7' into x86/boot, to refresh the branch before merging new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/dma-debug.c')
-rw-r--r-- | lib/dma-debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index ae4b65e17e64..dace71fe41f7 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -574,6 +574,9 @@ void debug_dma_assert_idle(struct page *page) unsigned long flags; phys_addr_t cln; + if (dma_debug_disabled()) + return; + if (!page) return; |