Changeset 95c675b in mainline for kernel/generic/include/preemption.h


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/preemption.h

    rdbf32b1 r95c675b  
    3737
    3838#include <arch.h>
     39#include <assert.h>
    3940#include <compiler/barrier.h>
    40 #include <debug.h>
    4141
    4242#define PREEMPTION_INC         (1 << 0)
     
    5454#define preemption_enable() \
    5555        do { \
    56                 ASSERT(PREEMPTION_DISABLED); \
     56                assert(PREEMPTION_DISABLED); \
    5757                compiler_barrier(); \
    5858                THE->preemption -= PREEMPTION_INC; \
Note: See TracChangeset for help on using the changeset viewer.