diff options
Diffstat (limited to 'arch/score/include/asm/thread_info.h')
| -rw-r--r-- | arch/score/include/asm/thread_info.h | 16 | 
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h index 8570d08f58c..656b7ada932 100644 --- a/arch/score/include/asm/thread_info.h +++ b/arch/score/include/asm/thread_info.h @@ -11,10 +11,9 @@  #include <linux/const.h>  /* thread information allocation */ -#define THREAD_SIZE_ORDER 	(1) -#define THREAD_SIZE 		(PAGE_SIZE << THREAD_SIZE_ORDER) -#define THREAD_MASK 		(THREAD_SIZE - _AC(1,UL)) -#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR +#define THREAD_SIZE_ORDER	(1) +#define THREAD_SIZE		(PAGE_SIZE << THREAD_SIZE_ORDER) +#define THREAD_MASK		(THREAD_SIZE - _AC(1,UL))  #ifndef __ASSEMBLY__ @@ -71,13 +70,8 @@ struct thread_info {  register struct thread_info *__current_thread_info __asm__("r28");  #define current_thread_info()	__current_thread_info -#define alloc_thread_info(tsk) kmalloc(THREAD_SIZE, GFP_KERNEL) -#define free_thread_info(info) kfree(info) -  #endif /* !__ASSEMBLY__ */ -#define PREEMPT_ACTIVE		0x10000000 -  /*   * thread information flags   * - these are process state flags that various assembly files may need to @@ -90,16 +84,12 @@ register struct thread_info *__current_thread_info __asm__("r28");  #define TIF_NEED_RESCHED	2	/* rescheduling necessary */  #define TIF_NOTIFY_RESUME	5	/* callback before returning to user */  #define TIF_RESTORE_SIGMASK	9	/* restore signal mask in do_signal() */ -#define TIF_POLLING_NRFLAG	17	/* true if poll_idle() is polling -						 TIF_NEED_RESCHED */  #define TIF_MEMDIE		18	/* is terminating due to OOM killer */  #define _TIF_SYSCALL_TRACE	(1<<TIF_SYSCALL_TRACE)  #define _TIF_SIGPENDING		(1<<TIF_SIGPENDING)  #define _TIF_NEED_RESCHED	(1<<TIF_NEED_RESCHED)  #define _TIF_NOTIFY_RESUME	(1<<TIF_NOTIFY_RESUME) -#define _TIF_RESTORE_SIGMASK	(1<<TIF_RESTORE_SIGMASK) -#define _TIF_POLLING_NRFLAG	(1<<TIF_POLLING_NRFLAG)  #define _TIF_WORK_MASK		(0x0000ffff)  | 
