projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Safer nr_node_ids and nr_node_ids determination and initial values
[powerpc.git]
/
init
/
main.c
diff --git
a/init/main.c
b/init/main.c
index
df982ff
..
0e22f40
100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-384,11
+384,6
@@
static void __init setup_per_cpu_areas(void)
static void __init smp_init(void)
{
unsigned int cpu;
- unsigned highest = 0;
-
- for_each_cpu_mask(cpu, cpu_possible_map)
- highest = cpu;
- nr_cpu_ids = highest + 1;
/* FIXME: This should be done in userspace --RR */
for_each_present_cpu(cpu) {