Changes in kernel/generic/src/preempt/preemption.c [df4ed85:2e4e706] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/preempt/preemption.c
rdf4ed85 r2e4e706 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ 32 32 33 33 /** 34 * @file 35 * @brief 34 * @file preemption.c 35 * @brief Preemption control. 36 36 */ 37 37 38 38 #include <preemption.h> 39 39 #include <arch.h> … … 52 52 void preemption_enable(void) 53 53 { 54 ASSERT( THE->preemption_disabled);54 ASSERT(PREEMPTION_DISABLED); 55 55 memory_barrier(); 56 56 THE->preemption_disabled--;
Note:
See TracChangeset
for help on using the changeset viewer.