aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-11-20 20:49:56 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-27 12:44:08 +0100
commitb627c8b17ccacba38c975bc0f69a49fc4e5261c9 (patch)
tree6cf2dff7025e213168d19c9a7f888e6c32e89db0 /arch/x86/include/asm/dma-mapping.h
parentffd565a8b817d1eb4b25184e8418e8d96c3f56f6 (diff)
x86: always define DECLARE_PCI_UNMAP* macros
Impact: fix boot crash on AMD IOMMU if CONFIG_GART_IOMMU is off Currently these macros evaluate to a no-op except the kernel is compiled with GART or Calgary support. But we also need these macros when we have SWIOTLB, VT-d or AMD IOMMU in the kernel. Since we always compile at least with SWIOTLB we can define these macros always. This patch is also for stable backport for the same reason the SWIOTLB default selection patch is. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: <stable@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions