diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-17 02:28:33 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-17 08:39:31 -0400 |
commit | dedd4915af40cff6614707c50dcae43d17beadec (patch) | |
tree | 4c27f94ec38752b70caa026d43f515781c8eae70 /include/asm-x86/thread_info.h | |
parent | 8a6c160a2a13d82c75a50af7282b906cce948df5 (diff) |
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 <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/thread_info.h')
-rw-r--r-- | include/asm-x86/thread_info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/thread_info.h b/include/asm-x86/thread_info.h index 74481b72ae0f..25d710532561 100644 --- a/include/asm-x86/thread_info.h +++ b/include/asm-x86/thread_info.h | |||
@@ -24,10 +24,10 @@ struct exec_domain; | |||
24 | struct thread_info { | 24 | struct thread_info { |
25 | struct task_struct *task; /* main task structure */ | 25 | struct task_struct *task; /* main task structure */ |
26 | struct exec_domain *exec_domain; /* execution domain */ | 26 | struct exec_domain *exec_domain; /* execution domain */ |
27 | __u32 flags; /* low level flags */ | 27 | unsigned long flags; /* low level flags */ |
28 | __u32 status; /* thread synchronous flags */ | 28 | __u32 status; /* thread synchronous flags */ |
29 | __u32 cpu; /* current CPU */ | 29 | __u32 cpu; /* current CPU */ |
30 | int preempt_count; /* 0 => preemptable, | 30 | int preempt_count; /* 0 => preemptable, |
31 | <0 => BUG */ | 31 | <0 => BUG */ |
32 | mm_segment_t addr_limit; | 32 | mm_segment_t addr_limit; |
33 | struct restart_block restart_block; | 33 | struct restart_block restart_block; |