[MIPS] fixmap: delete unused __set_fixmap, set_fixmap and set_fixmap_nocache
[cascardo/linux.git] / include / asm-mips / a.out.h
index 1ad60ba..bf55a5b 100644 (file)
@@ -38,7 +38,8 @@ 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