X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm26%2Fthread_info.h;h=50f41b50268a097140abcdf453138d0e550803c9;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=bcd0c9c9b6c570befa4386394fb6eb788f253921;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm26/thread_info.h b/include/asm-arm26/thread_info.h index bcd0c9c9b..50f41b502 100644 --- a/include/asm-arm26/thread_info.h +++ b/include/asm-arm26/thread_info.h @@ -18,6 +18,7 @@ struct task_struct; struct exec_domain; +#include #include #include #include @@ -80,7 +81,7 @@ static inline struct thread_info *current_thread_info(void) } /* FIXME - PAGE_SIZE < 32K */ -#define THREAD_SIZE (8192) +#define THREAD_SIZE (8*32768) // FIXME - this needs attention (see kernel/fork.c which gets a nice div by zero if this is lower than 8*32768 #define __get_user_regs(x) (((struct pt_regs *)((unsigned long)(x) + THREAD_SIZE - 8)) - 1) extern struct thread_info *alloc_thread_info(struct task_struct *task); @@ -125,6 +126,7 @@ extern void free_thread_info(struct thread_info *); #define TIF_SYSCALL_TRACE 8 #define TIF_USED_FPU 16 #define TIF_POLLING_NRFLAG 17 +#define TIF_MEMDIE 18 #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) #define _TIF_SIGPENDING (1 << TIF_SIGPENDING)