dma-mapping: make the get_required_mask method available unconditionally
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Sep 2018 23:27:24 +0000 (19:27 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 1 Oct 2018 14:27:00 +0000 (07:27 -0700)
commitc6d4381220a0087ce19dbf6984d92c451bd6b364
tree137796a9983bcc8282410110a131c0833b659b1b
parentb733116feab5471c0489ab33e90fceb553215e5b
dma-mapping: make the get_required_mask method available unconditionally

This save some duplication for ia64, and makes the interface more
general.  In the long run we want each dma_map_ops instance to fill this
out, but this will take a little more prep work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/ia64/include/asm/dma-mapping.h
arch/ia64/include/asm/machvec.h
arch/ia64/include/asm/machvec_init.h
arch/ia64/include/asm/machvec_sn2.h
arch/ia64/pci/pci.c
arch/ia64/sn/pci/pci_dma.c
drivers/base/platform.c
drivers/pci/controller/vmd.c
include/linux/dma-mapping.h