Ignore:
File:
1 edited

Legend:

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

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