# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1197663998 25200
# Node ID d0f0ed665d1aa548e96bceff36ea5df6bdf31d92
# Parent 81cee3aa9e909f612b12f777abb9ba3e5a857f4f
[IA64] vti fault handler clean up: clean up VMX_DO_SAVE_MIN
- p15 was set twice with same condition
- r1 was set to r21 via r16. using r16 doesn't make sense.
direct set r1 to r21.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/arch/ia64/vmx/vmx_minstate.h | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
diff -r 81cee3aa9e90 -r d0f0ed665d1a xen/arch/ia64/vmx/vmx_minstate.h
--- a/xen/arch/ia64/vmx/vmx_minstate.h Fri Dec 14 13:24:44 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_minstate.h Fri Dec 14 13:26:38 2007 -0700
@@ -107,7 +107,6 @@
*/
#define VMX_DO_SAVE_MIN(COVER,SAVE_IFS,EXTRA)
\
- VMX_MINSTATE_GET_CURRENT(r16); /* M (or M;;I) */
\
mov r27=ar.rsc; /* M */
\
mov r20=r1; /* A */
\
mov r25=ar.unat; /* M */
\
@@ -122,7 +121,7 @@
;;
\
(p6)br.spnt.few vmx_panic;
\
tbit.z p0,p15=r29,IA64_PSR_I_BIT;
\
- mov r1=r16;
\
+ VMX_MINSTATE_GET_CURRENT(r1); /* M (or M;;I) */
\
/* mov r21=r16; */
\
/* switch from user to kernel RBS: */
\
;;
\
@@ -137,7 +136,6 @@
st8 [r16]=r29; /* save cr.ipsr */
\
;;
\
lfetch.fault.excl.nt1 [r17];
\
- tbit.nz p15,p0=r29,IA64_PSR_I_BIT;
\
mov r29=b0
\
;;
\
adds r16=PT(R8),r1; /* initialize first base pointer */
\
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|