projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf518c
)
[MIPS] Fix SMP now that fixup_cpu_present_map is gone.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 22 May 2006 13:24:04 +0000
(14:24 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:09 +0000
(
00:15
+0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/smp.c
b/arch/mips/kernel/smp.c
index d42f358754ad829129663f01350d7c0757f8f078..298f82fe8440a43d1a8140ed8a256d44595ed6d8 100644
(file)
--- a/
arch/mips/kernel/smp.c
+++ b/
arch/mips/kernel/smp.c
@@
-247,6
+247,9
@@
void __init smp_prepare_cpus(unsigned int max_cpus)
current_thread_info()->cpu = 0;
smp_tune_scheduling();
plat_prepare_cpus(max_cpus);
+#ifndef CONFIG_HOTPLUG_CPU
+ cpu_present_map = cpu_possible_map;
+#endif
}
/* preload SMP state for boot cpu */
@@
-442,7
+445,7
@@
static int __init topology_init(void)
int cpu;
int ret;
- for_each_cpu(cpu) {
+ for_each_
present_
cpu(cpu) {
ret = register_cpu(&per_cpu(cpu_devices, cpu), cpu, NULL);
if (ret)
printk(KERN_WARNING "topology_init: register_cpu %d "