Changes in kernel/generic/include/preemption.h [057e77f:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/preemption.h
r057e77f r63e27ef 37 37 38 38 #include <arch.h> 39 #include <assert.h> 39 40 #include <compiler/barrier.h> 40 #include <debug.h>41 41 42 42 #define PREEMPTION_INC (1 << 0) … … 54 54 #define preemption_enable() \ 55 55 do { \ 56 ASSERT(PREEMPTION_DISABLED); \56 assert(PREEMPTION_DISABLED); \ 57 57 compiler_barrier(); \ 58 58 THE->preemption -= PREEMPTION_INC; \
Note:
See TracChangeset
for help on using the changeset viewer.