Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1769
b: refs/heads/master
c: 88314ee
h: refs/heads/master
i:
  1767: fa5a2bf
v: v3
  • Loading branch information
David S. Miller committed Jun 1, 2005
1 parent 4382155 commit a7b0e10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 7c963ad1d113790a8c723a178988b675868f3abe
refs/heads/master: 88314ee73fd75eb32abdcb3119cd303c116d4500
8 changes: 3 additions & 5 deletions trunk/arch/sparc64/kernel/pci_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,14 +422,12 @@ static void pci_strbuf_flush(struct pci_strbuf *strbuf, struct pci_iommu *iommu,
flushreg = strbuf->strbuf_ctxflush;
matchreg = PCI_STC_CTXMATCH_ADDR(strbuf, ctx);

if (pci_iommu_read(matchreg) == 0)
goto do_flush_sync;

pci_iommu_write(flushreg, ctx);
if ((val = pci_iommu_read(matchreg)) == 0)
val = pci_iommu_read(matchreg);
val &= 0xffff;
if (!val)
goto do_flush_sync;

val &= 0xffff;
while (val) {
if (val & 0x1)
pci_iommu_write(flushreg, ctx);
Expand Down

0 comments on commit a7b0e10

Please sign in to comment.