summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_probe.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-05-05 17:38:27 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 15:20:37 +0200
commit7d567928db59cb249e5539ebb63890e24431669a (patch)
tree83399f59c621c1e26fb7125a2cdd7f8a93a5d964 /drivers/xen/xenbus/xenbus_probe.c
parentxen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB p... (diff)
downloadlinux-7d567928db59cb249e5539ebb63890e24431669a.tar.xz
linux-7d567928db59cb249e5539ebb63890e24431669a.zip
xen/xenbus: Use Xen page definition
All the ring (xenstore, and PV rings) are always based on the page granularity of Xen. Signed-off-by: Julien Grall <julien.grall@citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to '')
-rw-r--r--drivers/xen/xenbus/xenbus_probe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c
index 3cbe0556de26..33a31cfef55d 100644
--- a/drivers/xen/xenbus/xenbus_probe.c
+++ b/drivers/xen/xenbus/xenbus_probe.c
@@ -802,7 +802,8 @@ static int __init xenbus_init(void)
goto out_error;
xen_store_gfn = (unsigned long)v;
xen_store_interface =
- xen_remap(xen_store_gfn << PAGE_SHIFT, PAGE_SIZE);
+ xen_remap(xen_store_gfn << XEN_PAGE_SHIFT,
+ XEN_PAGE_SIZE);
break;
default:
pr_warn("Xenstore state unknown\n");