x86: remove cruft from <asm/dma-mapping.h>
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Feb 2022 14:10:54 +0000 (15:10 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Apr 2022 05:21:14 +0000 (07:21 +0200)
commit3cb4503a330159dc5cf2f8382181ccbabbbaa5b2
tree4bf79133fab0157792e527ab3428a66d2f05a549
parent6424e31b1c050a25aea033206d5f626f3523448c
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>
arch/x86/include/asm/dma-mapping.h
arch/x86/include/asm/iommu.h