[patch 6/9] x86: thread_info: PREEMPT_ACTIVE

From: Christoph Lameter
Date: Mon Apr 28 2008 - 21:56:10 EST


Same for both 32 and 64 bit so simply put it in to the common area.

Signed-off-by: Christoph Lameter <clameter@xxxxxxx>

---
include/asm-x86/thread_info.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Index: linux-2.6/include/asm-x86/thread_info.h
===================================================================
--- linux-2.6.orig/include/asm-x86/thread_info.h 2008-04-28 17:48:36.029891123 -0700
+++ linux-2.6/include/asm-x86/thread_info.h 2008-04-28 17:49:29.299897238 -0700
@@ -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_
#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 */

/*

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/