Skip to content

Commit

Permalink
x86: thread_info: PREEMPT_ACTIVE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Lameter authored and Ingo Molnar committed May 12, 2008
1 parent 3351cc0 commit 24e2de6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/asm-x86/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 */

/*
Expand Down

0 comments on commit 24e2de6

Please sign in to comment.