Subversion Repositories HelenOS

Rev

Rev 3582 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3582 Rev 3591
Line 115... Line 115...
115
void kmp(void *arg)
115
void kmp(void *arg)
116
{
116
{
117
    ofw_tree_node_t *node;
117
    ofw_tree_node_t *node;
118
    int i;
118
    int i;
119
   
119
   
120
    printf("\nGoing to wake CPUs up.\n");
-
 
121
   
-
 
122
    if (is_us() || is_us_iii()) {
120
    if (is_us() || is_us_iii()) {
123
        node = ofw_tree_find_child_by_device_type(cpus_parent(), "cpu");
121
        node = ofw_tree_find_child_by_device_type(cpus_parent(), "cpu");
124
        for (i = 0; node; node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++)
122
        for (i = 0; node; node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++)
125
            wakeup_cpu(node);
123
            wakeup_cpu(node);
126
    } else if (is_us_iv()) {
124
    } else if (is_us_iv()) {