Changeset 897fd8f1 in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2017-12-19T18:18:15Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55b56f4
Parents:
7f11dc6
Message:

Use <errno.h> instead of special ESYNCH_xx error codes.

File:
1 edited

Legend:

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

    r7f11dc6 r897fd8f1  
    3939#include <arch/boot/boot.h>
    4040#include <assert.h>
     41#include <errno.h>
    4142#include <genarch/acpi/acpi.h>
    4243#include <genarch/acpi/madt.h>
     
    178179                         */
    179180                        if (waitq_sleep_timeout(&ap_completion_wq, 1000000,
    180                             SYNCH_FLAGS_NONE) == ESYNCH_TIMEOUT) {
     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.