diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-04-08 12:20:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:19:57 -0400 |
commit | f9c258de3494a5249a61fe110ece2082e5927468 (patch) | |
tree | 53b6b8a031a1e99a76a579ab42d471356685fb86 /arch/x86/kernel/pci-dma.c | |
parent | 85c246ee16fe00bf7bf9e7ff09a5d17d9a83cf71 (diff) |
x86: unify pci-nommu
merge pci-base_32.c and pci-nommu_64.c into pci-nommu.c
Their code were made the same, so now they can be merged.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r-- | arch/x86/kernel/pci-dma.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 1323cd80387b..37a558a96153 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -3,6 +3,14 @@ | |||
3 | const struct dma_mapping_ops *dma_ops; | 3 | const struct dma_mapping_ops *dma_ops; |
4 | EXPORT_SYMBOL(dma_ops); | 4 | EXPORT_SYMBOL(dma_ops); |
5 | 5 | ||
6 | #ifdef CONFIG_IOMMU_DEBUG | ||
7 | int panic_on_overflow __read_mostly = 1; | ||
8 | int force_iommu __read_mostly = 1; | ||
9 | #else | ||
10 | int panic_on_overflow __read_mostly = 0; | ||
11 | int force_iommu __read_mostly = 0; | ||
12 | #endif | ||
13 | |||
6 | int dma_set_mask(struct device *dev, u64 mask) | 14 | int dma_set_mask(struct device *dev, u64 mask) |
7 | { | 15 | { |
8 | if (!dev->dma_mask || !dma_supported(dev, mask)) | 16 | if (!dev->dma_mask || !dma_supported(dev, mask)) |