diff options
author | Christoph Hellwig <hch@lst.de> | 2022-02-17 17:10:54 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-04-18 08:21:14 +0300 |
commit | 3cb4503a330159dc5cf2f8382181ccbabbbaa5b2 (patch) | |
tree | 4bf79133fab0157792e527ab3428a66d2f05a549 /arch/x86/include/asm/dma-mapping.h | |
parent | 6424e31b1c050a25aea033206d5f626f3523448c (diff) | |
download | linux-3cb4503a330159dc5cf2f8382181ccbabbbaa5b2.tar.xz |
x86: remove cruft from <asm/dma-mapping.h>
<asm/dma-mapping.h> gets pulled in by all drivers using the DMA API.
Remove x86 internal variables and unnecessary includes from it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86/include/asm/dma-mapping.h')
-rw-r--r-- | arch/x86/include/asm/dma-mapping.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index 256fd8115223..1c66708e3062 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h @@ -2,17 +2,6 @@ #ifndef _ASM_X86_DMA_MAPPING_H #define _ASM_X86_DMA_MAPPING_H -/* - * IOMMU interface. See Documentation/core-api/dma-api-howto.rst and - * Documentation/core-api/dma-api.rst for documentation. - */ - -#include <linux/scatterlist.h> -#include <asm/io.h> - -extern int iommu_merge; -extern int panic_on_overflow; - extern const struct dma_map_ops *dma_ops; static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |