diff options
| -rw-r--r-- | arch/x86/kernel/pci-gart_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index ae1d3d8b384d..845cbecd68e9 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
| @@ -731,7 +731,8 @@ void __init gart_iommu_init(void) | |||
| 731 | * the backing memory. The GART address is only used by PCI | 731 | * the backing memory. The GART address is only used by PCI |
| 732 | * devices. | 732 | * devices. |
| 733 | */ | 733 | */ |
| 734 | clear_kernel_mapping((unsigned long)__va(iommu_bus_base), iommu_size); | 734 | set_memory_np((unsigned long)__va(iommu_bus_base), |
| 735 | iommu_size >> PAGE_SHIFT); | ||
| 735 | 736 | ||
| 736 | /* | 737 | /* |
| 737 | * Try to workaround a bug (thanks to BenH) | 738 | * Try to workaround a bug (thanks to BenH) |
