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/sparc64/src/smp/sun4u/smp.c

    r7f11dc6 r897fd8f1  
    106106        waking_up_mid = mid;
    107107               
    108         if (waitq_sleep_timeout(&ap_completion_wq, 1000000, SYNCH_FLAGS_NONE) ==
    109             ESYNCH_TIMEOUT)
     108        if (waitq_sleep_timeout(&ap_completion_wq, 1000000,
     109            SYNCH_FLAGS_NONE, NULL) == ETIMEOUT)
    110110                log(LF_ARCH, LVL_NOTE, "%s: waiting for processor (mid = %" PRIu32
    111111                    ") timed out", __func__, mid);
Note: See TracChangeset for help on using the changeset viewer.