Thread (87 messages) 87 messages, 7 authors, 2015-08-06

[PATCH v2 10/20] xen/xenbus: Use Xen page definition

From: David Vrabel <hidden>
Date: 2015-07-24 09:49:57
Also in: lkml

On 09/07/15 21:42, Julien Grall wrote:
All the ring (xenstore, and PV rings) are always based on the page
granularity of Xen.
[...]
quoted hunk ↗ jump to hunk
--- a/drivers/xen/xenbus/xenbus_probe.c
+++ b/drivers/xen/xenbus/xenbus_probe.c
@@ -713,7 +713,7 @@ static int __init xenstored_local_init(void)
 
 	xen_store_mfn = xen_start_info->store_mfn =
 		pfn_to_mfn(virt_to_phys((void *)page) >>
-			   PAGE_SHIFT);
+			   XEN_PAGE_SHIFT);
xen_store_pfn = xen_page_to_gfn(page);

Otherwise,

Reviewed-by: David Vrabel <redacted>

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help