From: Thomas Hellstrom Date: Wed, 27 Dec 2006 12:16:49 +0000 (+0100) Subject: [AGPGART] Fix PCI-posting flush typo. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f02d687b44aba0cfc393102ea1ccc78eadf8a04;p=mv-sheeva.git [AGPGART] Fix PCI-posting flush typo. Unfortunately there was a typo in one of the patches I sent, (The one now committed to the agpgart tree). It may cause a bus error on i810 type hardware. Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index ccb8018b831..ab0a9c0ad7c 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c @@ -253,7 +253,7 @@ insert: mem->memory[i], mem->type), intel_i810_private.registers+I810_PTE_BASE+(j*4)); } - readl(intel_i810_private.registers+I810_PTE_BASE+(j-1*4)); /* PCI Posting. */ + readl(intel_i810_private.registers+I810_PTE_BASE+((j-1)*4)); /* PCI Posting. */ agp_bridge->driver->tlb_flush(mem); return 0;