diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:21:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:21:11 -0400 |
commit | 06ab838c2024db468855118087db16d8fa905ddc (patch) | |
tree | 316ddb218bf3d5482bf16d38c129b71504780835 /drivers/net/xen-netback | |
parent | 573c577af079184ca523984e3279644eb37756a3 (diff) | |
parent | 5f51042f876b88a3b81a135cc4ca0adb3d246112 (diff) |
Merge tag 'for-linus-4.3-rc0b-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen terminology fixes from David Vrabel:
"Use the correct GFN/BFN terms more consistently"
* tag 'for-linus-4.3-rc0b-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen/xenbus: Rename the variable xen_store_mfn to xen_store_gfn
xen/privcmd: Further s/MFN/GFN/ clean-up
hvc/xen: Further s/MFN/GFN clean-up
video/xen-fbfront: Further s/MFN/GFN clean-up
xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn
xen: Use correctly the Xen memory terminologies
arm/xen: implement correctly pfn_to_mfn
xen: Make clear that swiotlb and biomerge are dealing with DMA address
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r-- | drivers/net/xen-netback/netback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index abc1381264fc..ec98d43916a8 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c | |||
@@ -325,7 +325,7 @@ static void xenvif_gop_frag_copy(struct xenvif_queue *queue, struct sk_buff *skb | |||
325 | } else { | 325 | } else { |
326 | copy_gop->source.domid = DOMID_SELF; | 326 | copy_gop->source.domid = DOMID_SELF; |
327 | copy_gop->source.u.gmfn = | 327 | copy_gop->source.u.gmfn = |
328 | virt_to_mfn(page_address(page)); | 328 | virt_to_gfn(page_address(page)); |
329 | } | 329 | } |
330 | copy_gop->source.offset = offset; | 330 | copy_gop->source.offset = offset; |
331 | 331 | ||
@@ -1406,7 +1406,7 @@ static void xenvif_tx_build_gops(struct xenvif_queue *queue, | |||
1406 | queue->tx_copy_ops[*copy_ops].source.offset = txreq.offset; | 1406 | queue->tx_copy_ops[*copy_ops].source.offset = txreq.offset; |
1407 | 1407 | ||
1408 | queue->tx_copy_ops[*copy_ops].dest.u.gmfn = | 1408 | queue->tx_copy_ops[*copy_ops].dest.u.gmfn = |
1409 | virt_to_mfn(skb->data); | 1409 | virt_to_gfn(skb->data); |
1410 | queue->tx_copy_ops[*copy_ops].dest.domid = DOMID_SELF; | 1410 | queue->tx_copy_ops[*copy_ops].dest.domid = DOMID_SELF; |
1411 | queue->tx_copy_ops[*copy_ops].dest.offset = | 1411 | queue->tx_copy_ops[*copy_ops].dest.offset = |
1412 | offset_in_page(skb->data); | 1412 | offset_in_page(skb->data); |