[IA64] Only use streamlined entry/exit for xen hypercall.
authorAlex Williamson <alex.williamson@hp.com>
Wed, 28 Nov 2007 19:34:33 +0000 (12:34 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Wed, 28 Nov 2007 19:34:33 +0000 (12:34 -0700)
This patch allows to use ia64 specific hypercalls in vti mode.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
xen/arch/ia64/vmx/vmx_ivt.S

index b5a40eaf30609383024971a873590aca575f1a56..b2ed77043d5904eb1869a9504f0ddb604e4aa4cc 100644 (file)
@@ -472,7 +472,7 @@ ENTRY(vmx_break_fault)
     ;;
     ld4 r22=[r22]
     extr.u r24=r29,IA64_PSR_CPL0_BIT,2
-    cmp.eq p0,p6=r0,r0
+    cmp.ltu p6,p0=NR_hypercalls,r2
     ;;
     cmp.ne.or p6,p0=r22,r17
     cmp.ne.or p6,p0=r0,r24