[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1199044209 25200
# Node ID 3d7213deb33e863a32d10f44d1c3800a1235309b
# Parent  2491691e3e69b38ef8e1f21aa535922b9ffaac28
[IA64] fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_entry.S |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 2491691e3e69 -r 3d7213deb33e xen/arch/ia64/vmx/vmx_entry.S
--- a/xen/arch/ia64/vmx/vmx_entry.S     Sat Dec 29 17:57:47 2007 +0000
+++ b/xen/arch/ia64/vmx/vmx_entry.S     Sun Dec 30 12:50:09 2007 -0700
@@ -635,7 +635,7 @@ 1: {
     movl loc2=PERCPU_ADDR
     ;;
     tpa loc2 = loc2         // get physical address of per cpu date
-    ;;
+    tpa r3 = r8             // get physical address of ip
     dep loc5 = 0,in1,60,4          // get physical address of guest_vhpt
     dep loc6 = 0,in2,60,4          // get physical address of pal code
     ;;
@@ -672,9 +672,7 @@ 1:
     mov cr.itir=r18
     mov cr.ifa=r17
     mov r16=IA64_TR_KERNEL
-    //mov r3=ip
     movl r25 = PAGE_KERNEL
-    ;;
     dep r2=0,r3,0,KERNEL_TR_PAGE_SHIFT
     ;;
     or r24=r2,r25

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.