X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-sh%2Fthread_info.h;h=d82f883d8e6d3b68fe571b724103a528eb7f4fbc;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a4a70df910f00e37089e36eecc108a8ae19bf68f;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sh/thread_info.h b/include/asm-sh/thread_info.h index a4a70df91..d82f883d8 100644 --- a/include/asm-sh/thread_info.h +++ b/include/asm-sh/thread_info.h @@ -25,16 +25,6 @@ struct thread_info { __u8 supervisor_stack[0]; }; -#else /* !__ASSEMBLY__ */ - -/* offsets into the thread_info struct for assembly code access */ -#define TI_TASK 0x00000000 -#define TI_EXEC_DOMAIN 0x00000004 -#define TI_FLAGS 0x00000008 -#define TI_CPU 0x0000000c -#define TI_PRE_COUNT 0x00000010 -#define TI_RESTART_BLOCK 0x00000014 - #endif #define PREEMPT_ACTIVE 0x4000000 @@ -93,6 +83,7 @@ static inline struct thread_info *current_thread_info(void) #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ +#define TIF_MEMDIE 18 #define TIF_USERSPACE 31 /* true if FS sets userspace */ #define _TIF_SYSCALL_TRACE (1<