# HG changeset patch # User tristan.gingold@xxxxxxxx # Node ID c96dd915697680952aa123102fe99ea75cde51df # Parent 8a1bb4c2f951c9fbbdd362363ee776a0e0f32c7b Get rid of dcr bit 63 trick. (Use ar.rsc.pl instead). Signed-off-by: Tristan Gingold diff -r 8a1bb4c2f951 -r c96dd9156976 linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S --- a/linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S Fri May 12 07:32:52 2006 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S Fri May 12 08:38:12 2006 @@ -18,12 +18,13 @@ .text GLOBAL_ENTRY(early_xen_setup) - mov r8=cr.dcr + mov r8=ar.rsc // Initialized in head.S (isBP) movl r9=running_on_xen;; - extr.u r8=r8,63,1;; - cmp.ne p7,p0=r8,r0;; + extr.u r8=r8,2,2;; // Extract pl fields + cmp.ne p7,p0=r8,r0;; // p7: running on xen +(p7) mov r8=1 // booleanize. +(p7) movl r10=xen_ivt;; (isBP) st4 [r9]=r8 -(p7) movl r10=xen_ivt;; (p7) mov cr.iva=r10 br.ret.sptk.many rp;; END(early_xen_setup)