git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
powerpc
/
kernel
/
smp.c
diff --git
a/arch/powerpc/kernel/smp.c
b/arch/powerpc/kernel/smp.c
index
530f7db
..
13595a6
100644
(file)
--- a/
arch/powerpc/kernel/smp.c
+++ b/
arch/powerpc/kernel/smp.c
@@
-362,7
+362,7
@@
void __init smp_prepare_cpus(unsigned int max_cpus)
smp_space_timers(max_cpus);
smp_space_timers(max_cpus);
- for_each_
possible_
cpu(cpu)
+ for_each_cpu(cpu)
if (cpu != boot_cpuid)
smp_create_idle(cpu);
}
if (cpu != boot_cpuid)
smp_create_idle(cpu);
}
@@
-541,7
+541,7
@@
int __devinit start_secondary(void *unused)
smp_ops->take_timebase();
if (system_state > SYSTEM_BOOTING)
smp_ops->take_timebase();
if (system_state > SYSTEM_BOOTING)
-
snapshot_timebase
();
+
per_cpu(last_jiffy, cpu) = get_tb
();
spin_lock(&call_lock);
cpu_set(cpu, cpu_online_map);
spin_lock(&call_lock);
cpu_set(cpu, cpu_online_map);
@@
-573,8
+573,6
@@
void __init smp_cpus_done(unsigned int max_cpus)
set_cpus_allowed(current, old_mask);
set_cpus_allowed(current, old_mask);
- snapshot_timebases();
-
dump_numa_cpu_topology();
}
dump_numa_cpu_topology();
}