Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356357
b: refs/heads/master
c: c7c360e
h: refs/heads/master
i:
  356355: ed3c5f1
v: v3
  • Loading branch information
Wei Yongjun authored and Benjamin Herrenschmidt committed Jan 10, 2013
1 parent a30d8aa commit d0e5a27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: e253ebab935693cc2eafbc93e94b68b47dc779db
refs/heads/master: c7c360eedb8c1eea302a224a8c83d19a4e4cf608
2 changes: 1 addition & 1 deletion trunk/drivers/macintosh/windfarm_pm112.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ static int __init wf_pm112_init(void)

/* Count the number of CPU cores */
nr_cores = 0;
for (cpu = NULL; (cpu = of_find_node_by_type(cpu, "cpu")) != NULL; )
for_each_node_by_type(cpu, "cpu")
++nr_cores;

printk(KERN_INFO "windfarm: initializing for dual-core desktop G5\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/macintosh/windfarm_pm72.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ static int __init wf_pm72_init(void)

/* Count the number of CPU cores */
nr_chips = 0;
for (cpu = NULL; (cpu = of_find_node_by_type(cpu, "cpu")) != NULL; )
for_each_node_by_type(cpu, "cpu")
++nr_chips;
if (nr_chips > NR_CHIPS)
nr_chips = NR_CHIPS;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/macintosh/windfarm_rm31.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ static int __init wf_rm31_init(void)

/* Count the number of CPU cores */
nr_chips = 0;
for (cpu = NULL; (cpu = of_find_node_by_type(cpu, "cpu")) != NULL; )
for_each_node_by_type(cpu, "cpu")
++nr_chips;
if (nr_chips > NR_CHIPS)
nr_chips = NR_CHIPS;
Expand Down

0 comments on commit d0e5a27

Please sign in to comment.