From: Andrew Morton fs/proc/task_mmu.c: In function `pagemap_read': fs/proc/task_mmu.c:679: error: `TASK_SIZE32' undeclared (first use in this function) fs/proc/task_mmu.c:679: error: (Each undeclared identifier is reported only once fs/proc/task_mmu.c:679: error: for each function it appears in.) Like this? Cc: Dave Hansen Cc: David Rientjes Cc: Matt Mackall Cc: Ralf Baechle Signed-off-by: Andrew Morton --- include/asm-mips/processor.h | 2 -- 1 file changed, 2 deletions(-) diff -puN include/asm-mips/processor.h~maps4-rework-task_size-macros-mips-fix include/asm-mips/processor.h --- a/include/asm-mips/processor.h~maps4-rework-task_size-macros-mips-fix +++ a/include/asm-mips/processor.h @@ -45,8 +45,6 @@ extern unsigned int vced_count, vcei_cou * space during mmap's. */ #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) -#define TASK_SIZE_OF(tsk) \ - (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE) #endif #ifdef CONFIG_64BIT _