]> err.no Git - linux-2.6/commitdiff
x86: thread_info: PREEMPT_ACTIVE
authorChristoph Lameter <clameter@sgi.com>
Tue, 29 Apr 2008 01:52:37 +0000 (18:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:03 +0000 (21:28 +0200)
Same for both 32 and 64 bit so simply put it in to the common area.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/thread_info.h

index 8cd52d4bfb0e52c2f16495711b38648a4dd80d9d..f8d5cf516ac441e45a8d6718ab05f30e79a73e7d 100644 (file)
@@ -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 */
 
 /*