Go to the documentation of this file.
9 #ifndef _ASM_THREAD_INFO_H
10 #define _ASM_THREAD_INFO_H
15 #include <asm/types.h>
16 #include <asm/processor.h>
17 #include <arch/thread_info.h>
18 #include <asm/segment.h>
47 #define PREEMPT_ACTIVE 0x10000000
53 #define INIT_THREAD_INFO(tsk) \
56 .exec_domain = &default_exec_domain, \
59 .preempt_count = INIT_PREEMPT_COUNT, \
60 .addr_limit = KERNEL_DS, \
62 .fn = do_no_restart_syscall, \
66 #define init_thread_info (init_thread_union.thread_info)
76 #define TIF_SYSCALL_TRACE 0
77 #define TIF_NOTIFY_RESUME 1
78 #define TIF_SIGPENDING 2
79 #define TIF_NEED_RESCHED 3
80 #define TIF_RESTORE_SIGMASK 9
83 #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
84 #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
85 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
86 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
88 #define _TIF_WORK_MASK 0x0000FFFE
89 #define _TIF_ALLWORK_MASK 0x0000FFFF