Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329177
b: refs/heads/master
c: c468bde
h: refs/heads/master
i:
  329175: ff15ede
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed Sep 17, 2012
1 parent d624922 commit 98cb82a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b82776005369899c1c7ca2e4b2414bb64b538d2c
refs/heads/master: c468bdee28a1cb61d9b7a8ce9859d17dee43b7d7
5 changes: 3 additions & 2 deletions trunk/drivers/xen/swiotlb-xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,10 @@ int __ref xen_swiotlb_init(int verbose, bool early)
goto error;
}
start_dma_addr = xen_virt_to_bus(xen_io_tlb_start);
if (early)
if (early) {
swiotlb_init_with_tbl(xen_io_tlb_start, xen_io_tlb_nslabs, verbose);
else
rc = 0;
} else
rc = swiotlb_late_init_with_tbl(xen_io_tlb_start, xen_io_tlb_nslabs);
return rc;
error:
Expand Down

0 comments on commit 98cb82a

Please sign in to comment.