diff options
Diffstat (limited to 'include/asm-mips/thread_info.h')
-rw-r--r-- | include/asm-mips/thread_info.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/asm-mips/thread_info.h b/include/asm-mips/thread_info.h index a70cb0854c8a..e6c24472e03f 100644 --- a/include/asm-mips/thread_info.h +++ b/include/asm-mips/thread_info.h | |||
@@ -26,6 +26,7 @@ struct thread_info { | |||
26 | struct task_struct *task; /* main task structure */ | 26 | struct task_struct *task; /* main task structure */ |
27 | struct exec_domain *exec_domain; /* execution domain */ | 27 | struct exec_domain *exec_domain; /* execution domain */ |
28 | unsigned long flags; /* low level flags */ | 28 | unsigned long flags; /* low level flags */ |
29 | unsigned long tp_value; /* thread pointer */ | ||
29 | __u32 cpu; /* current CPU */ | 30 | __u32 cpu; /* current CPU */ |
30 | int preempt_count; /* 0 => preemptable, <0 => BUG */ | 31 | int preempt_count; /* 0 => preemptable, <0 => BUG */ |
31 | 32 | ||
@@ -114,6 +115,7 @@ register struct thread_info *__current_thread_info __asm__("$28"); | |||
114 | #define TIF_SIGPENDING 2 /* signal pending */ | 115 | #define TIF_SIGPENDING 2 /* signal pending */ |
115 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ | 116 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ |
116 | #define TIF_SYSCALL_AUDIT 4 /* syscall auditing active */ | 117 | #define TIF_SYSCALL_AUDIT 4 /* syscall auditing active */ |
118 | #define TIF_SECCOMP 5 /* secure computing */ | ||
117 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ | 119 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ |
118 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 120 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
119 | #define TIF_MEMDIE 18 | 121 | #define TIF_MEMDIE 18 |
@@ -124,13 +126,14 @@ register struct thread_info *__current_thread_info __asm__("$28"); | |||
124 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 126 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
125 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) | 127 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
126 | #define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT) | 128 | #define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT) |
129 | #define _TIF_SECCOMP (1<<TIF_SECCOMP) | ||
127 | #define _TIF_USEDFPU (1<<TIF_USEDFPU) | 130 | #define _TIF_USEDFPU (1<<TIF_USEDFPU) |
128 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 131 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
129 | 132 | ||
130 | #define _TIF_WORK_MASK 0x0000ffef /* work to do on | 133 | /* work to do on interrupt/exception return */ |
131 | interrupt/exception return */ | 134 | #define _TIF_WORK_MASK (0x0000ffef & ~_TIF_SECCOMP) |
132 | #define _TIF_ALLWORK_MASK 0x8000ffff /* work to do on any return to | 135 | /* work to do on any return to u-space */ |
133 | u-space */ | 136 | #define _TIF_ALLWORK_MASK (0x8000ffff & ~_TIF_SECCOMP) |
134 | 137 | ||
135 | #endif /* __KERNEL__ */ | 138 | #endif /* __KERNEL__ */ |
136 | 139 | ||