Rev 3591 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3591 | Rev 3618 | ||
---|---|---|---|
Line 117... | Line 117... | ||
117 | ofw_tree_node_t *node; |
117 | ofw_tree_node_t *node; |
118 | int i; |
118 | int i; |
119 | 119 | ||
120 | if (is_us() || is_us_iii()) { |
120 | if (is_us() || is_us_iii()) { |
121 | node = ofw_tree_find_child_by_device_type(cpus_parent(), "cpu"); |
121 | node = ofw_tree_find_child_by_device_type(cpus_parent(), "cpu"); |
- | 122 | for (i = 0; node; |
|
122 | for (i = 0; node; node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++) |
123 | node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++) |
123 | wakeup_cpu(node); |
124 | wakeup_cpu(node); |
124 | } else if (is_us_iv()) { |
125 | } else if (is_us_iv()) { |
125 | node = ofw_tree_find_child(cpus_parent(), "cmp"); |
126 | node = ofw_tree_find_child(cpus_parent(), "cmp"); |
126 | while (node) { |
127 | while (node) { |
127 | wakeup_cpu(ofw_tree_find_child(node, "cpu@0")); |
128 | wakeup_cpu(ofw_tree_find_child(node, "cpu@0")); |