ia64/xen-unstable

changeset 16679:3d7213deb33e

[IA64] fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Sun Dec 30 12:50:09 2007 -0700 (2007-12-30)
parents 2491691e3e69
children 6c0aec4604f7
files xen/arch/ia64/vmx/vmx_entry.S
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_entry.S	Sat Dec 29 17:57:47 2007 +0000
     1.2 +++ b/xen/arch/ia64/vmx/vmx_entry.S	Sun Dec 30 12:50:09 2007 -0700
     1.3 @@ -635,7 +635,7 @@ 1: {
     1.4      movl loc2=PERCPU_ADDR
     1.5      ;;
     1.6      tpa loc2 = loc2         // get physical address of per cpu date
     1.7 -    ;;
     1.8 +    tpa r3 = r8             // get physical address of ip
     1.9      dep loc5 = 0,in1,60,4          // get physical address of guest_vhpt
    1.10      dep loc6 = 0,in2,60,4          // get physical address of pal code
    1.11      ;;
    1.12 @@ -672,9 +672,7 @@ 1:
    1.13      mov cr.itir=r18
    1.14      mov cr.ifa=r17
    1.15      mov r16=IA64_TR_KERNEL
    1.16 -    //mov r3=ip
    1.17      movl r25 = PAGE_KERNEL
    1.18 -    ;;
    1.19      dep r2=0,r3,0,KERNEL_TR_PAGE_SHIFT
    1.20      ;;
    1.21      or r24=r2,r25