Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23802
b: refs/heads/master
c: 85f9eeb
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Mar 25, 2006
1 parent f5e2a90 commit 4bb9038
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77d910f557c44db0fa72ee856c41cdd56972cfca
refs/heads/master: 85f9eebccde51e24896f31383f5b70776362e1a6
7 changes: 5 additions & 2 deletions trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,12 @@ static void flush_gart(struct device *dev)
if (!northbridges[i])
continue;
/* Make sure the hardware actually executed the flush. */
do {
for (;;) {
pci_read_config_dword(northbridges[i], 0x9c, &w);
} while (w & 1);
if (!(w & 1))
break;
cpu_relax();
}
}
if (!flushed)
printk("nothing to flush?\n");
Expand Down

0 comments on commit 4bb9038

Please sign in to comment.