Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143394
b: refs/heads/master
c: 88e0128
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Apr 14, 2009
1 parent ed32e21 commit 67f5d33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52db45c3c55a0fca53077dfd7b123e30cd210aad
refs/heads/master: 88e012856d05a5d00ae80c691fb7aa5adda268d7
3 changes: 2 additions & 1 deletion trunk/arch/s390/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ static int __init setup_possible_cpus(char *s)
int pcpus, cpu;

pcpus = simple_strtoul(s, NULL, 0);
for (cpu = 0; cpu < pcpus && cpu < nr_cpu_ids; cpu++)
init_cpu_possible(cpumask_of(0));
for (cpu = 1; cpu < pcpus && cpu < nr_cpu_ids; cpu++)
set_cpu_possible(cpu, true);
return 0;
}
Expand Down

0 comments on commit 67f5d33

Please sign in to comment.