--- include/asm-ia64/pgtable.h | 5 +++++ 1 file changed, 5 insertions(+) Index: linux-2.6/include/asm-ia64/pgtable.h =================================================================== --- linux-2.6.orig/include/asm-ia64/pgtable.h 2007-11-02 23:50:55.000000000 -0700 +++ linux-2.6/include/asm-ia64/pgtable.h 2007-11-02 23:55:48.000000000 -0700 @@ -238,6 +238,11 @@ ia64_phys_addr_valid (unsigned long addr # define VMALLOC_END (RGN_BASE(RGN_GATE) + (1UL << (4*PAGE_SHIFT - 9))) #endif #endif +/* + * Cut out the end of pice of the vmalloc area + */ +#define CPU_AREA_BITS 40 +#define CPU_AREA_START VMALLOC_END - 1 << CPU_AREA_BITS /* fs/proc/kcore.c */ #define kc_vaddr_to_offset(v) ((v) - RGN_BASE(RGN_GATE))