libxc: use PRI_xen_pfn in xc_dom_load_acpi
PATCH 1/1 libxc: use PRI_xen_pfn in xc_dom_load_acpi
This fixes compilation on ARM.
Signed-off-by Wei Liu <[email protected]>
---
Cc: Ian Jackson <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
--- tools/libxc/xc_dom_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxc/xc_dom_core.c +1 -1
@@ -1113,7 +1113,7 @@ static int xc_dom_load_acpi(struct xc_dom_image *dom) PROT_READ | PROT_WRITE, base);if ( !ptr ) { -DOMPRINTF ("%s: Can't map %d pages at 0x%lx" , +DOMPRINTF ("%s: Can't map %d pages at 0x%" PRI_xen_pfn, __FUNCTION__, num_pages, base); goto err; }
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 3 lines · Wei Liu
This fixes compilation on ARM.
Signed-off-by Wei Liu <[email protected]>
Reviewed-by Boris Ostrovsky <[email protected]>
Quoted 12 lines
---
Cc: Ian Jackson <[email protected]>
Cc: Boris Ostrovsky <[email protected]>--- tools/libxc/xc_dom_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/libxc/xc_dom_core.c +0
-0
tools/libxc/xc_dom_core.c static int xc_dom_load_acpi(struct xc_dom_image *dom) · line 1119
Quoted 8 lines
tools/libxc/xc_dom_core.c +1
-1@@ -1113,7 +1113,7 @@ static int xc_dom_load_acpi(struct xc_dom_image *dom) PROT_READ | PROT_WRITE, base);if ( !ptr ) { -DOMPRINTF ("%s: Can't map %d pages at 0x%lx" , +DOMPRINTF ("%s: Can't map %d pages at 0x%" PRI_xen_pfn, __FUNCTION__, num_pages, base); goto err; }
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 7 lines · Boris Ostrovsky
Quoted 3 lines · Wei Liu
This fixes compilation on ARM.
Signed-off-by Wei Liu <[email protected]>Reviewed-by Boris Ostrovsky <[email protected]>
Thanks, pushed.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel