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

[Xen-changelog] [xen-unstable] [IA64] Fix hyper_get_psr



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1176395202 21600
# Node ID 605d534f96357ecfbf0db084d7bd9ec42e7eeaad
# Parent  acf561f90822a5b366c88d4cce9f2b54917ee305
[IA64] Fix hyper_get_psr

It didn't return correct psr.i value.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/hyperprivop.S |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r acf561f90822 -r 605d534f9635 xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Thu Apr 12 10:24:53 2007 -0600
+++ b/xen/arch/ia64/xen/hyperprivop.S   Thu Apr 12 10:26:42 2007 -0600
@@ -1526,8 +1526,10 @@ ENTRY(hyper_get_psr)
        adds r20=XSI_PSR_I_ADDR_OFS-XSI_PSR_IC_OFS,r18 ;;
        ld8 r20=[r20];;
        ld1 r21=[r20];;
-       dep r8=r21,r8,IA64_PSR_I_BIT,1
-       ;;
+       cmp.eq p8,p9=r0,r21
+       ;;
+(p8)   dep r8=-1,r8,IA64_PSR_I_BIT,1
+(p9)   dep r8=0,r8,IA64_PSR_I_BIT,1
        // set vpsr.dfh
        adds r20=XSI_VPSR_DFH_OFS-XSI_PSR_IC_OFS,r18;;
        ld1 r21=[r20];;

_______________________________________________
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®.