Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230850
b: refs/heads/master
c: ba5d101
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Konrad Rzeszutek Wilk committed Jan 11, 2011
1 parent 340f88b commit 96e8516
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9329e7604fe915fd0201633d3c38adae307d56a5
refs/heads/master: ba5d1012292403c8037adf4a54c4ec50dfe846c4
4 changes: 2 additions & 2 deletions trunk/drivers/xen/gntdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ static int find_grant_ptes(pte_t *pte, pgtable_t token,
u64 pte_maddr;

BUG_ON(pgnr >= map->count);
pte_maddr = (u64)pfn_to_mfn(page_to_pfn(token)) << PAGE_SHIFT;
pte_maddr += (unsigned long)pte & ~PAGE_MASK;
pte_maddr = arbitrary_virt_to_machine(pte).maddr;

gnttab_set_map_op(&map->map_ops[pgnr], pte_maddr,
GNTMAP_contains_pte | map->flags,
map->grants[pgnr].ref,
Expand Down

0 comments on commit 96e8516

Please sign in to comment.