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
This commit is contained in:
@@ -232,7 +232,7 @@ static int xenkbd_connect_backend(struct xenbus_device *dev,
|
||||
struct xenbus_transaction xbt;
|
||||
|
||||
ret = gnttab_grant_foreign_access(dev->otherend_id,
|
||||
virt_to_mfn(info->page), 0);
|
||||
virt_to_gfn(info->page), 0);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
info->gref = ret;
|
||||
@@ -255,7 +255,7 @@ static int xenkbd_connect_backend(struct xenbus_device *dev,
|
||||
goto error_irqh;
|
||||
}
|
||||
ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu",
|
||||
virt_to_mfn(info->page));
|
||||
virt_to_gfn(info->page));
|
||||
if (ret)
|
||||
goto error_xenbus;
|
||||
ret = xenbus_printf(xbt, dev->nodename, "page-gref", "%u", info->gref);
|
||||
|
||||
Reference in New Issue
Block a user