X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fmca_asm.h;h=836953e0f91f611977419855ece5debe3a1fc38b;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=2aa8437dcf75249fc19258f5af6cf92dba178b4a;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-ia64/mca_asm.h b/include/asm-ia64/mca_asm.h index 2aa8437dc..836953e0f 100644 --- a/include/asm-ia64/mca_asm.h +++ b/include/asm-ia64/mca_asm.h @@ -46,6 +46,10 @@ mov temp = 0x7 ;; \ dep addr = temp, addr, 61, 3 +#define GET_THIS_PADDR(reg, var) \ + mov reg = IA64_KR(PER_CPU_DATA);; \ + addl reg = THIS_CPU(var), reg + /* * This macro jumps to the instruction at the given virtual address * and starts execution in physical mode with all the address @@ -162,9 +166,6 @@ ;; \ srlz.d; \ mov r13 = ar.k6; \ - ;; \ - DATA_PA_TO_VA(r13,temp1); \ - ;; \ mov temp2 = ar.bspstore; \ ;; \ DATA_PA_TO_VA(temp2,temp1); \