diff options
Diffstat (limited to 'arch/x86/kernel/pci-swiotlb.c')
-rw-r--r-- | arch/x86/kernel/pci-swiotlb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c index 6af96ee44200..1e66b18f45cb 100644 --- a/arch/x86/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb.c | |||
@@ -71,9 +71,8 @@ void __init pci_swiotlb_init(void) | |||
71 | { | 71 | { |
72 | /* don't initialize swiotlb if iommu=off (no_iommu=1) */ | 72 | /* don't initialize swiotlb if iommu=off (no_iommu=1) */ |
73 | #ifdef CONFIG_X86_64 | 73 | #ifdef CONFIG_X86_64 |
74 | if ((!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN) || | 74 | if ((!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN)) |
75 | iommu_pass_through) | 75 | swiotlb = 1; |
76 | swiotlb = 1; | ||
77 | #endif | 76 | #endif |
78 | if (swiotlb_force) | 77 | if (swiotlb_force) |
79 | swiotlb = 1; | 78 | swiotlb = 1; |