]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/a.out.h
[NETNS]: Add namespace for ICMP replying code.
[linux-2.6-omap-h63xx.git] / 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