Commit 24e2de6e authored by Christoph Lameter's avatar Christoph Lameter Committed by Ingo Molnar

x86: thread_info: PREEMPT_ACTIVE

Same for both 32 and 64 bit so simply put it in to the common area.
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3351cc03
...@@ -62,9 +62,10 @@ struct thread_info { ...@@ -62,9 +62,10 @@ struct thread_info {
#endif #endif
#define PREEMPT_ACTIVE 0x10000000
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
#define PREEMPT_ACTIVE 0x10000000
#ifdef CONFIG_4KSTACKS #ifdef CONFIG_4KSTACKS
#define THREAD_SIZE (4096) #define THREAD_SIZE (4096)
#else #else
...@@ -286,8 +287,6 @@ static inline struct thread_info *stack_thread_info(void) ...@@ -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_PREV _TIF_WORK_CTXSW
#define _TIF_WORK_CTXSW_NEXT (_TIF_WORK_CTXSW|_TIF_DEBUG) #define _TIF_WORK_CTXSW_NEXT (_TIF_WORK_CTXSW|_TIF_DEBUG)
#define PREEMPT_ACTIVE 0x10000000
#endif /* !X86_32 */ #endif /* !X86_32 */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment