commit | 2481366afd71a0c0b7cd725e6750c04cf589673b | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <[email protected]> | Wed Sep 28 15:22:33 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Sep 28 16:19:01 2016 -0700 |
tree | bddefbe87e77de1c6d7d5d6e77ea85155973b45e | |
parent | 5b398e416e880159fe55eefd93c6588fa072cd66 [diff] |
dma-mapping.h: preserve unmap info for CONFIG_DMA_API_DEBUG When CONFIG_DMA_API_DEBUG is enabled we need to preserve unmapping address even if "unmap" is a no-op for our architecutre because we need debug_dma_unmap_page() to correctly cleanup all of the debug bookkeeping. Failing to do so results in a false positive warnings about previously mapped areas never being unmapped. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrey Smirnov <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Will Deacon <[email protected]> Cc: Zhen Lei <[email protected]> Cc: "Luis R. Rodriguez" <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Geliang Tang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>