X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fmca_asm.h;h=836953e0f91f611977419855ece5debe3a1fc38b;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=55deddd7e5bce18b73d683151b3a4fc179180fbc;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-ia64/mca_asm.h b/include/asm-ia64/mca_asm.h index 55deddd7e..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