Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45142
b: refs/heads/master
c: dbc1333
h: refs/heads/master
v: v3
  • Loading branch information
Jan Andersson authored and Linus Torvalds committed Dec 30, 2006
1 parent 73dd591 commit dcc5ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 8018c27b26af56af18eb8b2dc600eba825792d8f
refs/heads/master: dbc1333a347745bd55844649c19eb7d28f383a84
3 changes: 2 additions & 1 deletion trunk/arch/sparc/kernel/ioport.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,8 @@ int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents,
/* IIep is write-through, not flushing. */
for (n = 0; n < nents; n++) {
BUG_ON(page_address(sg->page) == NULL);
sg->dvma_address = virt_to_phys(page_address(sg->page));
sg->dvma_address =
virt_to_phys(page_address(sg->page)) + sg->offset;
sg->dvma_length = sg->length;
sg++;
}
Expand Down

0 comments on commit dcc5ccd

Please sign in to comment.