projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd17c6
)
x86: remove DMA_ERROR_CODE
author
Christoph Hellwig
<hch@lst.de>
Mon, 22 May 2017 08:37:09 +0000
(10:37 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 28 Jun 2017 13:54:36 +0000
(06:54 -0700)
All dma_map_ops instances now handle their errors through
->mapping_error.
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/x86/include/asm/dma-mapping.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/dma-mapping.h
b/arch/x86/include/asm/dma-mapping.h
index
08a0838
..
c35d228
100644
(file)
--- a/
arch/x86/include/asm/dma-mapping.h
+++ b/
arch/x86/include/asm/dma-mapping.h
@@
-19,8
+19,6
@@
# define ISA_DMA_BIT_MASK DMA_BIT_MASK(32)
#endif
-#define DMA_ERROR_CODE 0
-
extern int iommu_merge;
extern struct device x86_dma_fallback_dev;
extern int panic_on_overflow;