vserver 1.9.5.x5
[linux-2.6.git] / include / asm-ia64 / mca_asm.h
index 55deddd..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