Rev 3664 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3664 | Rev 3742 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | 62 | ||
63 | /** |
63 | /** |
64 | * Starts all CPUs represented by following siblings of the given node, |
64 | * Starts all CPUs represented by following siblings of the given node, |
65 | * except for the current CPU. |
65 | * except for the current CPU. |
66 | * |
66 | * |
67 | * @param child the first child of the OFW tree node whose children represent |
67 | * @param child The first child of the OFW tree node whose children |
68 | * CPUs to be woken up |
68 | * represent CPUs to be woken up. |
69 | * @param current_mid MID of the current CPU, the current CPU will |
69 | * @param current_mid MID of the current CPU, the current CPU will |
70 | * (of course) not be woken up |
70 | * (of course) not be woken up. |
71 | * @return number of CPUs which have the same parent node as "child" |
71 | * @return Number of CPUs which have the same parent node as |
- | 72 | * "child". |
|
72 | */ |
73 | */ |
73 | static int wake_cpus_in_node(phandle child, uint64_t current_mid) |
74 | static int wake_cpus_in_node(phandle child, uint64_t current_mid) |
74 | { |
75 | { |
75 | int cpus; |
76 | int cpus; |
76 | char type_name[BUF_SIZE]; |
77 | char type_name[BUF_SIZE]; |