[IA64] Fix xencomm_arch_hypercall_suspend
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Fri, 12 Jan 2007 19:56:20 +0000 (12:56 -0700)
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Fri, 12 Jan 2007 19:56:20 +0000 (12:56 -0700)
This hypercall is changed to new hypercall mechanism

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S

index e761278670f2121277d5fbc58bbe548112ae7057..256c564fa8697de7f92a43f92f162e883dd72098 100644 (file)
@@ -38,14 +38,14 @@ END(early_xen_setup)
 /* Stub for suspend.
    Just force the stacked registers to be written in memory.  */       
 GLOBAL_ENTRY(xencomm_arch_hypercall_suspend)
-       mov r15=r32
        ;; 
-       alloc r20=ar.pfs,0,0,0,0
+       alloc r20=ar.pfs,0,0,2,0
        mov r2=__HYPERVISOR_sched_op
        ;; 
        /* We don't want to deal with RSE.  */
        flushrs
-       mov r14=2 // SCHEDOP_shutdown
+       mov r33=r32
+       mov r32=2 // SCHEDOP_shutdown
        ;;
        break 0x1000
        ;;