projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the module selection page
[bertos.git]
/
bertos
/
kern
/
preempt.c
diff --git
a/bertos/kern/preempt.c
b/bertos/kern/preempt.c
index 2c44373b0517b7c66b1e1d5f1baa9f93061730a4..4b1ad9ee2d5dea8e213570eeb1c59fc400290fa6 100644
(file)
--- a/
bertos/kern/preempt.c
+++ b/
bertos/kern/preempt.c
@@
-65,8
+65,8
@@
CONFIG_DEPEND(CONFIG_KERN_PREEMPT, CONFIG_KERN_SCHED && CONFIG_TIMER_EVENTS &
MOD_DEFINE(preempt)
MOD_DEFINE(preempt)
-/
** Global preemption disabling nesting counter */
-
in
t _preempt_forbid_cnt;
+/
// Global preemption disabling nesting counter
+
cpu_atomic_
t _preempt_forbid_cnt;
static Timer preempt_timer;
static Timer preempt_timer;