x86: fix gart_iommu_init()
commit184652eb6f68050af48a2ce3d5cf0537c208bee2
authorIngo Molnar <mingo@elte.hu>
Thu, 14 Feb 2008 22:30:20 +0000 (14 23:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 14 Feb 2008 22:30:20 +0000 (14 23:30 +0100)
tree1362a91c254120b68e324f58cc2715139bba53a5
parent3223f59f9cd9d69a4344eeac8b16a262c5f373f1
x86: fix gart_iommu_init()

When the GART table is unmapped from the kernel direct mappings
during early bootup, make sure we have no leftover cachelines in it.

Note: the clflush done by set_memory_np() was not enough, because
clflush does not work on unmapped pages.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-gart_64.c