X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-mips%2Fa.out.h;h=bf55a5b34bef7458c3a69a7b7a05398dec7e8986;hb=5c8e191e8437616a498a8e1cc0af3dd0d32bbff2;hp=ef33c3f1348446ceb3ca5bb41b2ac81977fdf4ae;hpb=62c4f0a2d5a188f73a94f2cb8ea0dba3e7cf0a7f;p=linux-2.6 diff --git a/include/asm-mips/a.out.h b/include/asm-mips/a.out.h index ef33c3f134..bf55a5b34b 100644 --- a/include/asm-mips/a.out.h +++ b/include/asm-mips/a.out.h @@ -38,8 +38,10 @@ struct exec #define STACK_TOP TASK_SIZE #endif #ifdef CONFIG_64BIT -#define STACK_TOP (current->thread.mflags & MF_32BIT_ADDR ? TASK_SIZE32 : TASK_SIZE) +#define STACK_TOP \ + (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE) #endif +#define STACK_TOP_MAX TASK_SIZE #endif