projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add alpha api implementation for i2s module.
[bertos.git]
/
bertos
/
cpu
/
power.h
diff --git
a/bertos/cpu/power.h
b/bertos/cpu/power.h
index d73eb621a785ef17629ff03e25748820983d476f..f161c698f40ebf14f261d4b77323138e45f98cfb 100644
(file)
--- a/
bertos/cpu/power.h
+++ b/
bertos/cpu/power.h
@@
-40,6
+40,8
@@
#include "cfg/cfg_proc.h"
#include "cfg/cfg_wdt.h"
+#include <cfg/compiler.h>
+
#if CONFIG_KERN
#include <kern/proc.h>
#endif
@@
-66,6
+68,7
@@
*/
INLINE void cpu_relax(void)
{
+ MEMORY_BARRIER;
#if CONFIG_KERN
if (proc_preemptAllowed())
proc_yield();