# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1178524804 -32400 # Node ID 13267399e63b83125a12791c21b46811fc1878d5 # Parent 1ed965d4314ea1f3c186460eecda1a044a6db38e libxc compilation fix PATCHNAME: libxc_compilation_fix Signed-off-by: Isaku Yamahata diff -r 1ed965d4314e -r 13267399e63b tools/libxc/xc_dom_core.c --- a/tools/libxc/xc_dom_core.c Mon May 07 16:21:21 2007 +0900 +++ b/tools/libxc/xc_dom_core.c Mon May 07 17:00:04 2007 +0900 @@ -774,7 +774,7 @@ int xc_dom_install_gnttab_entries(struct int xc_dom_install_gnttab_entries(struct xc_dom_image *dom, grant_handle_t start_handle, uint32_t count, - grant_entry_t entries[count]) + grant_entry_t *entries) { int i, rc = -1; gnttab_install_entry_t *ops; diff -r 1ed965d4314e -r 13267399e63b tools/libxc/xc_dom_ia64.c --- a/tools/libxc/xc_dom_ia64.c Mon May 07 16:21:21 2007 +0900 +++ b/tools/libxc/xc_dom_ia64.c Mon May 07 17:00:04 2007 +0900 @@ -28,6 +28,8 @@ static int alloc_magic_pages(struct xc_dom_image *dom) { + grant_entry_t gnt_entries[2]; + /* allocate special pages */ dom->console_pfn = dom->total_pages -1; dom->xenstore_pfn = dom->total_pages -2; diff -r 1ed965d4314e -r 13267399e63b tools/libxc/xc_dom_powerpc.c --- a/tools/libxc/xc_dom_powerpc.c Mon May 07 16:21:21 2007 +0900 +++ b/tools/libxc/xc_dom_powerpc.c Mon May 07 17:00:04 2007 +0900 @@ -37,6 +37,7 @@ static int alloc_magic_pages(struct xc_d unsigned long shadow_mb; int rma_pages; int rc; + grant_entry_t gnt_entries[2]; /* Allocate special pages from the end of the RMA. */ rma_pages = 1 << (dom->realmodearea_log - PAGE_SHIFT);