aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-dma.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-17 01:51:02 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-17 01:51:07 -0500
commit99f4c9de2b707795acb215e2e94df7ea266042b5 (patch)
tree6123682a8e0d880feebb690a55b3fb442ef3dee8 /arch/x86/kernel/pci-dma.c
parent62ad33f67003b9a7b6013f0511579b9805e11626 (diff)
parent156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff)
Merge commit 'v2.6.32-rc7' into core/iommu
Merge reason: Add fixes we'll depend on. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r--arch/x86/kernel/pci-dma.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index f170b5364b41..bf621b9ee26e 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -46,12 +46,10 @@ int iommu_pass_through __read_mostly;
46dma_addr_t bad_dma_address __read_mostly = 0; 46dma_addr_t bad_dma_address __read_mostly = 0;
47EXPORT_SYMBOL(bad_dma_address); 47EXPORT_SYMBOL(bad_dma_address);
48 48
49/* Dummy device used for NULL arguments (normally ISA). Better would 49/* Dummy device used for NULL arguments (normally ISA). */
50 be probably a smaller DMA mask, but this is bug-to-bug compatible
51 to older i386. */
52struct device x86_dma_fallback_dev = { 50struct device x86_dma_fallback_dev = {
53 .init_name = "fallback device", 51 .init_name = "fallback device",
54 .coherent_dma_mask = DMA_BIT_MASK(32), 52 .coherent_dma_mask = ISA_DMA_BIT_MASK,
55 .dma_mask = &x86_dma_fallback_dev.coherent_dma_mask, 53 .dma_mask = &x86_dma_fallback_dev.coherent_dma_mask,
56}; 54};
57EXPORT_SYMBOL(x86_dma_fallback_dev); 55EXPORT_SYMBOL(x86_dma_fallback_dev);