# HG changeset patch # User gingold@virtu10 # Node ID c2beffbd5f0d123cb21d365b7d144c21ba06a641 # Parent 6e7cc23ab18c23fdb2a8b4d0a7778c4144851818 getmeminfo nr_page trick is not anymore necessary. Signed-off-by: Tristan Gingold diff -r 6e7cc23ab18c -r c2beffbd5f0d linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c Mon Oct 02 21:53:07 2006 -0600 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c Tue Oct 03 11:31:23 2006 +0200 @@ -192,10 +192,7 @@ xencomm_privcmd_domctl(privcmd_hypercall case XEN_DOMCTL_getmemlist: { unsigned long nr_pages = kern_op.u.getmemlist.max_pfns; -#ifdef __ia64__ - /* FIXME: Xen/ia64 pass first_page and nr_pages in max_pfns! */ - nr_pages &= 0xffffffff; -#endif + ret = xencomm_create( xen_guest_handle(kern_op.u.getmemlist.buffer), nr_pages * sizeof(unsigned long),