SMP - fixed compilation and removed warnings

This commit is contained in:
Tomas Hruby
2011-12-15 09:56:08 +00:00
parent 84662ec4b3
commit 9cd53f1cc0
9 changed files with 16 additions and 13 deletions

View File

@@ -178,6 +178,7 @@ extern void * k_stacks;
#define get_k_stack_top(cpu) ((void *)(((char*)(k_stacks)) \
+ 2 * ((cpu) + 1) * K_STACK_SIZE))
_PROTOTYPE( void, mfence(void));
#define barrier() do { mfence(); } while(0)