]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove the PCI_DMA_BUS_IS_PHYS check in illegal_highdma
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 18:31:35 +0000 (20:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 7 May 2018 05:15:41 +0000 (07:15 +0200)
commit105aec733fffaa55de173106264cc30b3277f38a
tree2c2bdf774f6e393e967b349b54ddda7ec9d4aab3
parentadf477d93d1774904e80b2a499f72bf1cbef0f6d
net: remove the PCI_DMA_BUS_IS_PHYS check in illegal_highdma

These days the dma mapping routines must be able to handle any address
supported by the device, be that using an iommu, or swiotlb if none is
supported.  With that the PCI_DMA_BUS_IS_PHYS check in illegal_highdma
is not needed and can be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
net/core/dev.c