lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 6/9] x86: thread_info: PREEMPT_ACTIVE
Same for both 32 and 64 bit so simply put it in to the common area.

Signed-off-by: Christoph Lameter <clameter@sgi.com>

---
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 */

/*
--


\
 
 \ /
  Last update: 2008-04-29 03:59    [W:0.048 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site