diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
| commit | 3d14b5beba35250c548d3851a2b84fce742d8311 (patch) | |
| tree | 065e3d93c3fcbc5ee4c44fa78662393cddbdf6de /drivers/pci/intel-iommu.c | |
| parent | 0719dc341389882cc834ed18fc9b7fc6006b2b85 (diff) | |
| parent | 1bf8e6219552d5dd27012d567ec8c4bb9c2d86b4 (diff) | |
Merge branch 'sa1100' into devel
Diffstat (limited to 'drivers/pci/intel-iommu.c')
| -rw-r--r-- | drivers/pci/intel-iommu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 1840a0578a42..9261327b49f3 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
| @@ -3266,7 +3266,7 @@ int __init intel_iommu_init(void) | |||
| 3266 | * Check the need for DMA-remapping initialization now. | 3266 | * Check the need for DMA-remapping initialization now. |
| 3267 | * Above initialization will also be used by Interrupt-remapping. | 3267 | * Above initialization will also be used by Interrupt-remapping. |
| 3268 | */ | 3268 | */ |
| 3269 | if (no_iommu || swiotlb || dmar_disabled) | 3269 | if (no_iommu || dmar_disabled) |
| 3270 | return -ENODEV; | 3270 | return -ENODEV; |
| 3271 | 3271 | ||
| 3272 | iommu_init_mempool(); | 3272 | iommu_init_mempool(); |
| @@ -3287,7 +3287,9 @@ int __init intel_iommu_init(void) | |||
| 3287 | "PCI-DMA: Intel(R) Virtualization Technology for Directed I/O\n"); | 3287 | "PCI-DMA: Intel(R) Virtualization Technology for Directed I/O\n"); |
| 3288 | 3288 | ||
| 3289 | init_timer(&unmap_timer); | 3289 | init_timer(&unmap_timer); |
| 3290 | force_iommu = 1; | 3290 | #ifdef CONFIG_SWIOTLB |
| 3291 | swiotlb = 0; | ||
| 3292 | #endif | ||
| 3291 | dma_ops = &intel_dma_ops; | 3293 | dma_ops = &intel_dma_ops; |
| 3292 | 3294 | ||
| 3293 | init_iommu_sysfs(); | 3295 | init_iommu_sysfs(); |
