summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/thread_info.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-x86/thread_info.h b/include/asm-x86/thread_info.h
index 8cd52d4bfb0e..f8d5cf516ac4 100644
--- a/include/asm-x86/thread_info.h
+++ b/include/asm-x86/thread_info.h
@@ -62,9 +62,10 @@ struct thread_info {
#endif
+#define PREEMPT_ACTIVE 0x10000000
+
#ifdef CONFIG_X86_32
-#define PREEMPT_ACTIVE 0x10000000
#ifdef CONFIG_4KSTACKS
#define THREAD_SIZE (4096)
#else
@@ -286,8 +287,6 @@ static inline struct thread_info *stack_thread_info(void)
#define _TIF_WORK_CTXSW_PREV _TIF_WORK_CTXSW
#define _TIF_WORK_CTXSW_NEXT (_TIF_WORK_CTXSW|_TIF_DEBUG)
-#define PREEMPT_ACTIVE 0x10000000
-
#endif /* !X86_32 */
/*