[xen-unstable] [IA64] Only use streamlined entry/exit for xen hypercall.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen-unstable] [IA64] Only use streamlined entry/exit for xen hypercall.

Xen patchbot-unstable
# HG changeset patch
# User Alex Williamson <[hidden email]>
# Date 1196278473 25200
# Node ID c4ed92fb0d05a6668e9c45524df0b40ee801240f
# Parent  0cc58b6dfeb2bd5c1600eb8d783e18623c6c4fff
[IA64] Only use streamlined entry/exit for xen hypercall.

This patch allows to use ia64 specific hypercalls in vti mode.

Signed-off-by: Tristan Gingold <[hidden email]>
---
 xen/arch/ia64/vmx/vmx_ivt.S |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0cc58b6dfeb2 -r c4ed92fb0d05 xen/arch/ia64/vmx/vmx_ivt.S
--- a/xen/arch/ia64/vmx/vmx_ivt.S Wed Nov 28 12:32:28 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_ivt.S Wed Nov 28 12:34:33 2007 -0700
@@ -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

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog