diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/aperture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/aperture.c b/arch/x86_64/kernel/aperture.c index c9a6b812e926..962ad4823b6a 100644 --- a/arch/x86_64/kernel/aperture.c +++ b/arch/x86_64/kernel/aperture.c | |||
@@ -245,6 +245,8 @@ void __init iommu_hole_init(void) | |||
245 | 245 | ||
246 | if (aper_alloc) { | 246 | if (aper_alloc) { |
247 | /* Got the aperture from the AGP bridge */ | 247 | /* Got the aperture from the AGP bridge */ |
248 | } else if (swiotlb && !valid_agp) { | ||
249 | /* Do nothing */ | ||
248 | } else if ((!no_iommu && end_pfn >= 0xffffffff>>PAGE_SHIFT) || | 250 | } else if ((!no_iommu && end_pfn >= 0xffffffff>>PAGE_SHIFT) || |
249 | force_iommu || | 251 | force_iommu || |
250 | valid_agp || | 252 | valid_agp || |