OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c9ab1
)
x86: don't set maps in native_smp_prepare_boot_cpu()
author
Glauber de Oliveira Costa
<gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:34 +0000
(14:25 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000
(17:41 +0200)
By this time, they are already set in init routines
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/smpboot_32.c
b/arch/x86/kernel/smpboot_32.c
index
87c9a75
..
bfdfe3c
100644
(file)
--- a/
arch/x86/kernel/smpboot_32.c
+++ b/
arch/x86/kernel/smpboot_32.c
@@
-889,10
+889,7
@@
void __init native_smp_prepare_boot_cpu(void)
init_gdt(cpu);
switch_to_new_gdt();
- cpu_set(cpu, cpu_online_map);
cpu_set(cpu, cpu_callout_map);
- cpu_set(cpu, cpu_present_map);
- cpu_set(cpu, cpu_possible_map);
__get_cpu_var(cpu_state) = CPU_ONLINE;
}