# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1176097907 -32400 # Node ID c80170131617e3ce92a205cecbed1338409b0741 # Parent e9b79736d0820113ec1293338fa959be7ec30c58 make new ia64 domain builder use IA64_DOM0VP_fpswa_revision hypercall PATCHNAME: xen_ia64_fpswa_revision_hypercall Signed-off-by: Isaku Yamahata diff -r e9b79736d082 -r c80170131617 tools/libxc/ia64/xc_dom_ia64_util.c --- a/tools/libxc/ia64/xc_dom_ia64_util.c Mon Apr 09 19:09:30 2007 +0900 +++ b/tools/libxc/ia64/xc_dom_ia64_util.c Mon Apr 09 14:51:47 2007 +0900 @@ -36,7 +36,7 @@ xen_ia64_fpswa_revision(struct xc_dom_im int ret = -1; DECLARE_HYPERCALL; hypercall.op = __HYPERVISOR_ia64_dom0vp_op; - //hypercall.arg[0] = IA64_DOM0VP_get_fpswa_revision;//XXX + hypercall.arg[0] = IA64_DOM0VP_fpswa_revision; hypercall.arg[1] = (unsigned long)revision; if (lock_pages(revision, sizeof(*revision)) != 0) { @@ -44,8 +44,7 @@ xen_ia64_fpswa_revision(struct xc_dom_im goto out; } - //ret = do_xen_hypercall(dom->guest_xc, &hypercall);//XXX - ret = -ENOSYS; + ret = do_xen_hypercall(dom->guest_xc, &hypercall); unlock_pages(revision, sizeof(*revision)); out: