x86/pci: Clean up usage of X86_DEV_DMA_OPS
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Apr 2019 08:02:20 +0000 (10:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Apr 2019 11:12:05 +0000 (13:12 +0200)
commit15854edd193ae5d9daf8f50ce5f9f1724cebe344
tree41149b749780d598928ee6025aa268fdc20374ca
parenta5881bea88616e3aacf521dbdbe0e323257aaba1
x86/pci: Clean up usage of X86_DEV_DMA_OPS

We have supported per-device dma_map_ops in generic code for a long
time, and this symbol just guards the inclusion of the dma_map_ops
registry used for vmd.  Stop enabling it for anything but vmd.

No change in functionality intended.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20190410080220.21705-3-hch@lst.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig
drivers/misc/mic/Kconfig
drivers/pci/controller/Kconfig
drivers/pci/controller/vmd.c