vserver 1.9.5.x5
[linux-2.6.git] / include / asm-ia64 / mca_asm.h
index 2aa8437..836953e 100644 (file)
        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
        ;;                                                      \
        srlz.d;                                                 \
        mov     r13 = ar.k6;                                    \
-       ;;                                                      \
-       DATA_PA_TO_VA(r13,temp1);                               \
-       ;;                                                      \
        mov     temp2 = ar.bspstore;                            \
        ;;                                                      \
        DATA_PA_TO_VA(temp2,temp1);                             \