[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>
This commit is contained in:
awilliam@xenbuild.aw committed 2006-10-04 22:12:01 -06:00
1 parent ff5e22ba1d
commit 94af95bb04
1 file changed
+1 -4
@@ -192,10 +192,7 @@ xencomm_privcmd_domctl(privcmd_hypercall_t *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),
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.