]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86/include/asm/processor.h
x86: Factor out TIF_IA32 from 32-bit address space
[mv-sheeva.git] / arch / x86 / include / asm / processor.h
index aa9088c26931ae349c0bc6fbfece5fe0b10edfb9..9f748b5fb70182cdc6f31cf9e77dd68e2fdffb93 100644 (file)
@@ -924,9 +924,9 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk);
 #define IA32_PAGE_OFFSET       ((current->personality & ADDR_LIMIT_3GB) ? \
                                        0xc0000000 : 0xFFFFe000)
 
-#define TASK_SIZE              (test_thread_flag(TIF_IA32) ? \
+#define TASK_SIZE              (test_thread_flag(TIF_ADDR32) ? \
                                        IA32_PAGE_OFFSET : TASK_SIZE_MAX)
-#define TASK_SIZE_OF(child)    ((test_tsk_thread_flag(child, TIF_IA32)) ? \
+#define TASK_SIZE_OF(child)    ((test_tsk_thread_flag(child, TIF_ADDR32)) ? \
                                        IA32_PAGE_OFFSET : TASK_SIZE_MAX)
 
 #define STACK_TOP              TASK_SIZE