From 38b6f80bdd8227035bfab7491eb38cbd9155a53a Mon Sep 17 00:00:00 2001 From: Zou Nan hai Date: Thu, 14 Sep 2006 08:25:15 +0800 Subject: [PATCH] --- yaml --- r: 36340 b: refs/heads/master c: f5a3f3dc189485d607fbd42678cc23958acc0a6e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/ia64/kernel/mca_asm.S | 5 ----- trunk/include/asm-ia64/mca_asm.h | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 7ae7844e8b72..559e2495002e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c55cd63a77a85f603c98c2171a8054ca34b6a9f +refs/heads/master: f5a3f3dc189485d607fbd42678cc23958acc0a6e diff --git a/trunk/arch/ia64/kernel/mca_asm.S b/trunk/arch/ia64/kernel/mca_asm.S index 96047491d1b9..ee3ff76c8a35 100644 --- a/trunk/arch/ia64/kernel/mca_asm.S +++ b/trunk/arch/ia64/kernel/mca_asm.S @@ -1025,18 +1025,13 @@ ia64_old_stack: ia64_set_kernel_registers: add temp3=MCA_SP_OFFSET, r3 - add temp4=MCA_SOS_OFFSET+SOS(OS_GP), r3 mov b0=r2 // save return address GET_IA64_MCA_DATA(temp1) ;; - add temp4=temp4, temp1 // &struct ia64_sal_os_state.os_gp add r12=temp1, temp3 // kernel stack pointer on MCA/INIT stack add r13=temp1, r3 // set current to start of MCA/INIT stack add r20=temp1, r3 // physical start of MCA/INIT stack ;; - ld8 r1=[temp4] // OS GP from SAL OS state - ;; - DATA_PA_TO_VA(r1,temp1) DATA_PA_TO_VA(r12,temp2) DATA_PA_TO_VA(r13,temp3) ;; diff --git a/trunk/include/asm-ia64/mca_asm.h b/trunk/include/asm-ia64/mca_asm.h index 27c9203d8ce3..76203f9a8718 100644 --- a/trunk/include/asm-ia64/mca_asm.h +++ b/trunk/include/asm-ia64/mca_asm.h @@ -197,9 +197,9 @@ movl temp2 = start_addr; \ ;; \ mov cr.iip = temp2; \ + movl gp = __gp \ ;; \ DATA_PA_TO_VA(sp, temp1); \ - DATA_PA_TO_VA(gp, temp2); \ srlz.i; \ ;; \ nop 1; \