diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-14 03:16:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-14 04:44:08 -0400 |
commit | 62395efdb0ef42e664ca81677901268c403a6286 (patch) | |
tree | 7ce9e6ba8b3fa0c004f852b56966e96ad948d2f8 /arch/x86/kernel/cpu/common.c | |
parent | ccd50dfd92ea2c4ba9e39531ac55db53393e783e (diff) | |
parent | 88200bc28da38bcda1cb1bd218216e83b426d8a8 (diff) |
Merge branch 'x86/asm' into tracing/syscalls
We need the wider TIF work-mask checks in entry_32.S.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 826d5c876278..f8869978bbb7 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -1078,8 +1078,7 @@ void __cpuinit cpu_init(void) | |||
1078 | 1078 | ||
1079 | atomic_inc(&init_mm.mm_count); | 1079 | atomic_inc(&init_mm.mm_count); |
1080 | me->active_mm = &init_mm; | 1080 | me->active_mm = &init_mm; |
1081 | if (me->mm) | 1081 | BUG_ON(me->mm); |
1082 | BUG(); | ||
1083 | enter_lazy_tlb(&init_mm, me); | 1082 | enter_lazy_tlb(&init_mm, me); |
1084 | 1083 | ||
1085 | load_sp0(t, ¤t->thread); | 1084 | load_sp0(t, ¤t->thread); |
@@ -1145,8 +1144,7 @@ void __cpuinit cpu_init(void) | |||
1145 | */ | 1144 | */ |
1146 | atomic_inc(&init_mm.mm_count); | 1145 | atomic_inc(&init_mm.mm_count); |
1147 | curr->active_mm = &init_mm; | 1146 | curr->active_mm = &init_mm; |
1148 | if (curr->mm) | 1147 | BUG_ON(curr->mm); |
1149 | BUG(); | ||
1150 | enter_lazy_tlb(&init_mm, curr); | 1148 | enter_lazy_tlb(&init_mm, curr); |
1151 | 1149 | ||
1152 | load_sp0(t, thread); | 1150 | load_sp0(t, thread); |