diff options
author | Alex Williamson <alex.williamson@hp.com> | 2007-12-30 12:50:09 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@hp.com> | 2007-12-30 12:50:09 -0700 |
commit | f2a654841815b8a313c2ae3981066611caef5c2c (patch) | |
tree | 4b72fe7cd757c47d91f95c674b6dee88f14faf24 | |
parent | 340aaaf4790fc7d36ee21914818ef05d3f127d4d (diff) | |
download | xen-f2a654841815b8a313c2ae3981066611caef5c2c.tar.gz xen-f2a654841815b8a313c2ae3981066611caef5c2c.tar.bz2 xen-f2a654841815b8a313c2ae3981066611caef5c2c.zip |
[IA64] fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
-rw-r--r-- | xen/arch/ia64/vmx/vmx_entry.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/arch/ia64/vmx/vmx_entry.S b/xen/arch/ia64/vmx/vmx_entry.S index 2bc9add8a2..9b15e41ac9 100644 --- a/xen/arch/ia64/vmx/vmx_entry.S +++ b/xen/arch/ia64/vmx/vmx_entry.S @@ -635,7 +635,7 @@ GLOBAL_ENTRY(vmx_switch_rr7) 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 @@ GLOBAL_ENTRY(vmx_switch_rr7) 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 |