Move source tree closer to the 2.6.32.17 mainline
/arch/x86/kernel/pci-gart_64.c
blob:fcc0b5c022c10cbe545c7f781cf25bcdd805e7f8 -> blob:1c766915094e9babe9ef610388ef2b4775c1ca12
--- arch/x86/kernel/pci-gart_64.c
+++ arch/x86/kernel/pci-gart_64.c
@@ -553,6 +553,9 @@ static void enable_gart_translations(voi
enable_gart_translation(dev, __pa(agp_gatt_table));
}
+
+ /* Flush the GART-TLB to remove stale entries */
+ k8_flush_garts();
}
/*
@@ -717,7 +720,7 @@ void __init gart_iommu_init(void)
unsigned long scratch;
long i;
- if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0)
+ if (num_k8_northbridges == 0)
return;
#ifndef CONFIG_AGP_AMD64