Skip to content

Commit

Permalink
[AGPGART] Fix PCI-posting flush typo.
Browse files Browse the repository at this point in the history
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 <thomas@tungstengraphics.com>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Thomas Hellstrom authored and Dave Jones committed Dec 29, 2006
1 parent c41e0de commit 7f02d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/agp/intel-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static int intel_i810_insert_entries(struct agp_memory *mem, off_t pg_start,
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;
Expand Down

0 comments on commit 7f02d68

Please sign in to comment.