diff options
| -rw-r--r-- | arch/x86/include/asm/io.h | 2 | ||||
| -rw-r--r-- | arch/x86/include/asm/io_64.h | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-dma.c | 6 |
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 33513b9a67f3..05cfed4485fa 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h | |||
| @@ -80,8 +80,6 @@ static inline void writeq(__u64 val, volatile void __iomem *addr) | |||
| 80 | #define readq readq | 80 | #define readq readq |
| 81 | #define writeq writeq | 81 | #define writeq writeq |
| 82 | 82 | ||
| 83 | extern int iommu_bio_merge; | ||
| 84 | |||
| 85 | #ifdef CONFIG_X86_32 | 83 | #ifdef CONFIG_X86_32 |
| 86 | # include "io_32.h" | 84 | # include "io_32.h" |
| 87 | #else | 85 | #else |
diff --git a/arch/x86/include/asm/io_64.h b/arch/x86/include/asm/io_64.h index fea325a1122f..563c16270ba6 100644 --- a/arch/x86/include/asm/io_64.h +++ b/arch/x86/include/asm/io_64.h | |||
| @@ -232,8 +232,6 @@ void memset_io(volatile void __iomem *a, int b, size_t c); | |||
| 232 | 232 | ||
| 233 | #define flush_write_buffers() | 233 | #define flush_write_buffers() |
| 234 | 234 | ||
| 235 | #define BIO_VMERGE_BOUNDARY iommu_bio_merge | ||
| 236 | |||
| 237 | /* | 235 | /* |
| 238 | * Convert a virtual cached pointer to an uncached pointer | 236 | * Convert a virtual cached pointer to an uncached pointer |
| 239 | */ | 237 | */ |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 12eeb4bfcdeb..da93c65f8f0b 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
| @@ -31,11 +31,6 @@ int no_iommu __read_mostly; | |||
| 31 | /* Set this to 1 if there is a HW IOMMU in the system */ | 31 | /* Set this to 1 if there is a HW IOMMU in the system */ |
| 32 | int iommu_detected __read_mostly = 0; | 32 | int iommu_detected __read_mostly = 0; |
| 33 | 33 | ||
| 34 | /* This tells the BIO block layer to assume merging. Default to off | ||
| 35 | because we cannot guarantee merging later. */ | ||
| 36 | int iommu_bio_merge __read_mostly = 0; | ||
| 37 | EXPORT_SYMBOL(iommu_bio_merge); | ||
| 38 | |||
| 39 | dma_addr_t bad_dma_address __read_mostly = 0; | 34 | dma_addr_t bad_dma_address __read_mostly = 0; |
| 40 | EXPORT_SYMBOL(bad_dma_address); | 35 | EXPORT_SYMBOL(bad_dma_address); |
| 41 | 36 | ||
| @@ -189,7 +184,6 @@ static __init int iommu_setup(char *p) | |||
| 189 | } | 184 | } |
| 190 | 185 | ||
| 191 | if (!strncmp(p, "biomerge", 8)) { | 186 | if (!strncmp(p, "biomerge", 8)) { |
| 192 | iommu_bio_merge = 4096; | ||
| 193 | iommu_merge = 1; | 187 | iommu_merge = 1; |
| 194 | force_iommu = 1; | 188 | force_iommu = 1; |
| 195 | } | 189 | } |
