]> 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 2b3dc3bed4dac632a85114034722d00f9aa51d3b..bf55a5b34bef7458c3a69a7b7a05398dec7e8986 100644 (file)
@@ -10,7 +10,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 
 #endif
 
@@ -39,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