From: Ingo Molnar Date: Sat, 17 May 2008 06:28:33 +0000 (+0200) Subject: bitops: fix build in struct thread_info X-Git-Tag: v2.6.27-rc1~1102^2~253^21~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dedd4915af40cff6614707c50dcae43d17beadec;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git bitops: fix build in struct thread_info we can move flags from u32 to natural size - assembly code uses offsetof. Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/thread_info.h b/include/asm-x86/thread_info.h index 74481b7..25d7105 100644 --- a/include/asm-x86/thread_info.h +++ b/include/asm-x86/thread_info.h @@ -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;