X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fthread_info.h;h=f7f01524e8a8936424b0602ec1754b71f8411d0c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=62aeec9804ea1e1581ec7b69685423dded541e16;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-ppc/thread_info.h b/include/asm-ppc/thread_info.h index 62aeec980..f7f01524e 100644 --- a/include/asm-ppc/thread_info.h +++ b/include/asm-ppc/thread_info.h @@ -65,17 +65,7 @@ static inline struct thread_info *current_thread_info(void) */ #define THREAD_SIZE 8192 /* 2 pages */ -/* - * Offsets in thread_info structure, used in assembly code - */ -#define TI_TASK 0 -#define TI_EXECDOMAIN 4 -#define TI_FLAGS 8 -#define TI_LOCAL_FLAGS 12 -#define TI_CPU 16 -#define TI_PREEMPT 20 - -#define PREEMPT_ACTIVE 0x4000000 +#define PREEMPT_ACTIVE 0x10000000 /* * thread information flag bit numbers @@ -86,6 +76,7 @@ static inline struct thread_info *current_thread_info(void) #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_POLLING_NRFLAG 4 /* true if poll_idle() is polling TIF_NEED_RESCHED */ +#define TIF_MEMDIE 5 /* as above, but as bit values */ #define _TIF_SYSCALL_TRACE (1<