aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2008-06-25 18:25:43 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-26 09:17:18 -0400
commitfa3d319ac6f648dc51cb672a31f482c80a8c2457 (patch)
tree1bf747998cc0b0b3b09bed3e0cac3f13162f0bf5
parent037a6079eb925f7653bddf1501f777abcd4fc91e (diff)
pci-gart_64.c: could we get better explanation?
Add better explanation to pci-gart. Signed-off-by: Pavel Machek <pavel@suse.cz> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Andi Kleen <andi@firstfloor.org> Cc: Trivial patch monkey <trivial@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/pci-gart_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index f505c3890358..f20c20a7853d 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -824,10 +824,10 @@ void __init gart_iommu_init(void)
824 wbinvd(); 824 wbinvd();
825 825
826 /* 826 /*
827 * Try to workaround a bug (thanks to BenH) 827 * Try to workaround a bug (thanks to BenH):
828 * Set unmapped entries to a scratch page instead of 0. 828 * Set unmapped entries to a scratch page instead of 0.
829 * Any prefetches that hit unmapped entries won't get an bus abort 829 * Any prefetches that hit unmapped entries won't get an bus abort
830 * then. 830 * then. (P2P bridge may be prefetching on DMA reads).
831 */ 831 */
832 scratch = get_zeroed_page(GFP_KERNEL); 832 scratch = get_zeroed_page(GFP_KERNEL);
833 if (!scratch) 833 if (!scratch)