diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-25 11:19:33 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:21 -0400 |
commit | 293c5bd13f124c325f74f89ad26edf5612ce7235 (patch) | |
tree | 6de7ce919a10c58e29093776c02e61d7127ed12b /include/asm-mips/thread_info.h | |
parent | 01754bbc692929e446e600f69b41013e554399a6 (diff) |
[MIPS] Fixup secure computing stuff.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/thread_info.h')
-rw-r--r-- | include/asm-mips/thread_info.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-mips/thread_info.h b/include/asm-mips/thread_info.h index fbcda8204473..9676e7d9f52d 100644 --- a/include/asm-mips/thread_info.h +++ b/include/asm-mips/thread_info.h | |||
@@ -46,7 +46,7 @@ struct thread_info { | |||
46 | { \ | 46 | { \ |
47 | .task = &tsk, \ | 47 | .task = &tsk, \ |
48 | .exec_domain = &default_exec_domain, \ | 48 | .exec_domain = &default_exec_domain, \ |
49 | .flags = 0, \ | 49 | .flags = _TIF_FIXADE, \ |
50 | .cpu = 0, \ | 50 | .cpu = 0, \ |
51 | .preempt_count = 1, \ | 51 | .preempt_count = 1, \ |
52 | .addr_limit = KERNEL_DS, \ | 52 | .addr_limit = KERNEL_DS, \ |
@@ -119,6 +119,11 @@ register struct thread_info *__current_thread_info __asm__("$28"); | |||
119 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 119 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
120 | #define TIF_MEMDIE 18 | 120 | #define TIF_MEMDIE 18 |
121 | #define TIF_FREEZE 19 | 121 | #define TIF_FREEZE 19 |
122 | #define TIF_FIXADE 20 /* Fix address errors in software */ | ||
123 | #define TIF_LOGADE 21 /* Log address errors to syslog */ | ||
124 | #define TIF_32BIT_REGS 22 /* also implies 16/32 fprs */ | ||
125 | #define TIF_32BIT_ADDR 23 /* 32-bit address space (o32/n32) */ | ||
126 | #define TIF_FPUBOUND 24 /* thread bound to FPU-full CPU set */ | ||
122 | #define TIF_SYSCALL_TRACE 31 /* syscall trace active */ | 127 | #define TIF_SYSCALL_TRACE 31 /* syscall trace active */ |
123 | 128 | ||
124 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 129 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
@@ -131,6 +136,11 @@ register struct thread_info *__current_thread_info __asm__("$28"); | |||
131 | #define _TIF_USEDFPU (1<<TIF_USEDFPU) | 136 | #define _TIF_USEDFPU (1<<TIF_USEDFPU) |
132 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 137 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
133 | #define _TIF_FREEZE (1<<TIF_FREEZE) | 138 | #define _TIF_FREEZE (1<<TIF_FREEZE) |
139 | #define _TIF_FIXADE (1<<TIF_FIXADE) | ||
140 | #define _TIF_LOGADE (1<<TIF_LOGADE) | ||
141 | #define _TIF_32BIT_REGS (1<<TIF_32BIT_REGS) | ||
142 | #define _TIF_32BIT_ADDR (1<<TIF_32BIT_ADDR) | ||
143 | #define _TIF_FPUBOUND (1<<TIF_FPUBOUND) | ||
134 | 144 | ||
135 | /* work to do on interrupt/exception return */ | 145 | /* work to do on interrupt/exception return */ |
136 | #define _TIF_WORK_MASK (0x0000ffef & ~_TIF_SECCOMP) | 146 | #define _TIF_WORK_MASK (0x0000ffef & ~_TIF_SECCOMP) |