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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Christoph Lameter 2008-04-28 18:52:37 -07:00 коммит произвёл Ingo Molnar
Родитель 3351cc03c0
Коммит 24e2de6e28
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

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