ia64/xen-unstable

changeset 7506:3f237000e59c

Fix hyper_set_kr bug -- was always setting kr0. (Found by Kevin Tian)
author djm@kirby.fc.hp.com
date Tue Nov 01 08:37:40 2005 -0600 (2005-11-01)
parents fbf92a68ff36
children 854cfcbef774
files xen/arch/ia64/xen/hyperprivop.S
line diff
     1.1 --- a/xen/arch/ia64/xen/hyperprivop.S	Mon Oct 31 22:43:11 2005 -0600
     1.2 +++ b/xen/arch/ia64/xen/hyperprivop.S	Tue Nov 01 08:37:40 2005 -0600
     1.3 @@ -1485,7 +1485,7 @@ ENTRY(hyper_set_kr)
     1.4  	adds r21=XSI_KR0_OFS-XSI_PSR_IC_OFS,r18 ;;
     1.5  	shl r20=r8,3;;
     1.6  	add r22=r20,r21;;
     1.7 -	st8 [r21]=r9;;
     1.8 +	st8 [r22]=r9;;
     1.9  	cmp.eq p7,p0=r8,r0
    1.10  	adds r8=-1,r8;;
    1.11  (p7)	mov ar0=r9;;