Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24662
b: refs/heads/master
c: b848e0a
h: refs/heads/master
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Paul Mackerras committed Mar 29, 2006
1 parent 4afd87a commit af2dd2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 0e5519548fdc8eadc3eacb49b1908d44d347fb2b
refs/heads/master: b848e0a07dd5a874821bb587bb724fac4aa45bad
2 changes: 1 addition & 1 deletion trunk/arch/ppc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ int __init ppc_init(void)
if ( ppc_md.progress ) ppc_md.progress(" ", 0xffff);

/* register CPU devices */
for_each_cpu(i)
for_each_possible_cpu(i)
register_cpu(&cpu_devices[i], i, NULL);

/* call platform init */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
/* Backup CPU 0 state */
__save_cpu_setup();

for_each_cpu(cpu) {
for_each_possible_cpu(cpu) {
if (cpu == smp_processor_id())
continue;
/* create a process for the processor */
Expand Down

0 comments on commit af2dd2e

Please sign in to comment.