From: Joerg Roedel Date: Thu, 20 Nov 2008 19:49:56 +0000 (+0100) Subject: x86: always define DECLARE_PCI_UNMAP* macros X-Git-Tag: v2.6.28-rc7~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b627c8b17ccacba38c975bc0f69a49fc4e5261c9;p=pandora-kernel.git 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 Cc: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed