Subversion Repositories HelenOS

Rev

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

Rev 7 Rev 8
Line 125... Line 125...
125
    if ((++cpu->nrdy) > avg && (config.cpu_active == config.cpu_count)) {
125
    if ((++cpu->nrdy) > avg && (config.cpu_active == config.cpu_count)) {
126
        /*
126
        /*
127
         * If there are idle halted CPU's, this will wake them up.
127
         * If there are idle halted CPU's, this will wake them up.
128
         */
128
         */
129
        #ifdef __SMP__
129
        #ifdef __SMP__
130
        l_apic_broadcast_custom_ipi(VECTOR_WAKEUP_IPI);
130
        ipi_broadcast(VECTOR_WAKEUP_IPI);
131
        #endif /* __SMP__  */
131
        #endif /* __SMP__  */
132
    }  
132
    }  
133
    spinlock_unlock(&cpu->lock);
133
    spinlock_unlock(&cpu->lock);
134
   
134
   
135
    cpu_priority_restore(pri);
135
    cpu_priority_restore(pri);