]> err.no Git - linux-2.6/blobdiff - include/asm-mips/a.out.h
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux...
[linux-2.6] / include / asm-mips / a.out.h
index ef33c3f1348446ceb3ca5bb41b2ac81977fdf4ae..bf55a5b34bef7458c3a69a7b7a05398dec7e8986 100644 (file)
@@ -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