Go to the documentation of this file.
8 #ifndef _ASM_THREAD_INFO_H
9 #define _ASM_THREAD_INFO_H
33 #define INIT_THREAD_INFO(tsk) \
36 .exec_domain = &default_exec_domain, \
39 .preempt_count = INIT_PREEMPT_COUNT, \
41 .fn = do_no_restart_syscall, \
45 #define init_thread_info (init_thread_union.thread_info)
46 #define init_stack (init_thread_union.stack)
52 #define THREAD_SIZE_ORDER 1
53 #define THREAD_SIZE 8192
75 #define TI_EXECDOMAIN 4
78 #define TI_PRE_COUNT 16
80 #define PREEMPT_ACTIVE 0x4000000
85 #define TIF_SYSCALL_TRACE 0
86 #define TIF_SIGPENDING 1
87 #define TIF_NEED_RESCHED 2
89 #define TIF_RESTORE_SIGMASK 5
90 #define TIF_NOTIFY_RESUME 6
93 #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
94 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
95 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
96 #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
98 #define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \