direct-io.hg

changeset 11958:4786a0b3d6c5

[IA64] remove getmeminfo.nr_pages trick from xencomm

getmeminfo nr_page trick is not anymore necessary.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Wed Oct 04 22:12:01 2006 -0600 (2006-10-04)
parents 49bf2381e009
children 7cfc7cb7cea7
files linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c	Wed Oct 04 22:11:50 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c	Wed Oct 04 22:12:01 2006 -0600
     1.3 @@ -192,10 +192,7 @@ xencomm_privcmd_domctl(privcmd_hypercall
     1.4  	case XEN_DOMCTL_getmemlist:
     1.5  	{
     1.6  		unsigned long nr_pages = kern_op.u.getmemlist.max_pfns;
     1.7 -#ifdef __ia64__
     1.8 -		/* FIXME: Xen/ia64 pass first_page and nr_pages in max_pfns! */
     1.9 -		nr_pages &= 0xffffffff;
    1.10 -#endif
    1.11 +
    1.12  		ret = xencomm_create(
    1.13  			xen_guest_handle(kern_op.u.getmemlist.buffer),
    1.14  			nr_pages * sizeof(unsigned long),