~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/sparc/include/asm/thread_info_32.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
84
84
 
85
 
BTFIXUPDEF_CALL(struct thread_info *, alloc_thread_info, void)
86
 
#define alloc_thread_info(tsk) BTFIXUP_CALL(alloc_thread_info)()
 
85
BTFIXUPDEF_CALL(struct thread_info *, alloc_thread_info_node, int)
 
86
#define alloc_thread_info_node(tsk, node) BTFIXUP_CALL(alloc_thread_info_node)(node)
87
87
 
88
88
BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
89
89
#define free_thread_info(ti) BTFIXUP_CALL(free_thread_info)(ti)
92
92
 
93
93
/*
94
94
 * Size of kernel stack for each process.
95
 
 * Observe the order of get_free_pages() in alloc_thread_info().
 
95
 * Observe the order of get_free_pages() in alloc_thread_info_node().
96
96
 * The sun4 has 8K stack too, because it's short on memory, and 16K is a waste.
97
97
 */
98
98
#define THREAD_SIZE             8192
128
128
#define TIF_SIGPENDING          2       /* signal pending */
129
129
#define TIF_NEED_RESCHED        3       /* rescheduling necessary */
130
130
#define TIF_RESTORE_SIGMASK     4       /* restore signal mask in do_signal() */
131
 
#define TIF_KERNEL_TRACE        5       /* kernel trace active */
132
131
#define TIF_USEDFPU             8       /* FPU was used by this task
133
132
                                         * this quantum (SMP) */
134
133
#define TIF_POLLING_NRFLAG      9       /* true if poll_idle() is polling
138
137
 
139
138
/* as above, but as bit values */
140
139
#define _TIF_SYSCALL_TRACE      (1<<TIF_SYSCALL_TRACE)
141
 
#define _TIF_KERNEL_TRACE       (1<<TIF_KERNEL_TRACE)
142
140
#define _TIF_NOTIFY_RESUME      (1<<TIF_NOTIFY_RESUME)
143
141
#define _TIF_SIGPENDING         (1<<TIF_SIGPENDING)
144
142
#define _TIF_NEED_RESCHED       (1<<TIF_NEED_RESCHED)