Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/smp.c

    r2a103b5 rb169619  
    5454#include <mm/as.h>
    5555#include <log.h>
    56 #include <mem.h>
     56#include <memw.h>
    5757#include <genarch/drivers/i8259/i8259.h>
    5858#include <cpu.h>
     
    178178                         * supposed to wake us up.
    179179                         */
    180                         if (waitq_sleep_timeout(&ap_completion_wq, 1000000,
    181                             SYNCH_FLAGS_NONE, NULL) == ETIMEOUT) {
     180                        if (semaphore_down_timeout(&ap_completion_semaphore, 1000000) != EOK) {
    182181                                log(LF_ARCH, LVL_NOTE, "%s: waiting for cpu%u "
    183182                                    "(APIC ID = %d) timed out", __FUNCTION__,
Note: See TracChangeset for help on using the changeset viewer.