提交 dedd4915 编写于 作者: I Ingo Molnar 提交者: Thomas Gleixner

bitops: fix build in struct thread_info

we can move flags from u32 to natural size - assembly code uses
offsetof.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 8a6c160a
......@@ -24,10 +24,10 @@ struct exec_domain;
struct thread_info {
struct task_struct *task; /* main task structure */
struct exec_domain *exec_domain; /* execution domain */
__u32 flags; /* low level flags */
unsigned long flags; /* low level flags */
__u32 status; /* thread synchronous flags */
__u32 cpu; /* current CPU */
int preempt_count; /* 0 => preemptable,
int preempt_count; /* 0 => preemptable,
<0 => BUG */
mm_segment_t addr_limit;
struct restart_block restart_block;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册