aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-calgary_64.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-21 19:20:44 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-06 06:56:45 -0800
commit9e8aa6b5461be50197e0bebc040e9fb6029a3d6b (patch)
treebb14c71f838dd6e73b624ae1ba03cc8c9318dffb /arch/x86/kernel/pci-calgary_64.c
parentia64/sn: remove the mapping_error dma_map_ops method (diff)
downloadlinux-dev-9e8aa6b5461be50197e0bebc040e9fb6029a3d6b.tar.xz
linux-dev-9e8aa6b5461be50197e0bebc040e9fb6029a3d6b.zip
x86/amd_gart: remove the mapping_error dma_map_ops method
Return DMA_MAPPING_ERROR instead of the magic bad_dma_addr on a dma mapping failure and let the core dma-mapping code handle the rest. Remove the magic EMERGENCY_PAGES that the bad_dma_addr gets redirected to. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions