diff options
Diffstat (limited to 'include/asm-cris')
-rw-r--r-- | include/asm-cris/thread_info.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-cris/thread_info.h b/include/asm-cris/thread_info.h index fde39f6c49c7..784668ab0fa2 100644 --- a/include/asm-cris/thread_info.h +++ b/include/asm-cris/thread_info.h | |||
@@ -32,6 +32,7 @@ struct thread_info { | |||
32 | unsigned long flags; /* low level flags */ | 32 | unsigned long flags; /* low level flags */ |
33 | __u32 cpu; /* current CPU */ | 33 | __u32 cpu; /* current CPU */ |
34 | int preempt_count; /* 0 => preemptable, <0 => BUG */ | 34 | int preempt_count; /* 0 => preemptable, <0 => BUG */ |
35 | __u32 tls; /* TLS for this thread */ | ||
35 | 36 | ||
36 | mm_segment_t addr_limit; /* thread address space: | 37 | mm_segment_t addr_limit; /* thread address space: |
37 | 0-0xBFFFFFFF for user-thead | 38 | 0-0xBFFFFFFF for user-thead |
@@ -79,14 +80,18 @@ struct thread_info { | |||
79 | * - other flags in MSW | 80 | * - other flags in MSW |
80 | */ | 81 | */ |
81 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ | 82 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ |
82 | #define TIF_SIGPENDING 1 /* signal pending */ | 83 | #define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ |
83 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 84 | #define TIF_SIGPENDING 2 /* signal pending */ |
85 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ | ||
86 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ | ||
84 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 87 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
85 | #define TIF_MEMDIE 17 | 88 | #define TIF_MEMDIE 17 |
86 | 89 | ||
87 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 90 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
91 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) | ||
88 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 92 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
89 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) | 93 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
94 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) | ||
90 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 95 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
91 | 96 | ||
92 | #define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */ | 97 | #define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */ |