kernel: include kernel.h in kernel_structs.h in asm files
This will be needed for some thread user options that will move to kernel.h since they are part of the user API. Change-Id: I46e302b6cafcdddbad3458134b98feb5b8d45d9b Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
This commit is contained in:
parent
a5d8461d74
commit
dfa7ce5c94
2 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
#ifndef _kernel__h_
|
||||
#define _kernel__h_
|
||||
|
||||
#if !defined(_ASMLANGUAGE)
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
@ -3145,4 +3146,6 @@ inline void *operator new[](size_t size, void *ptr)
|
|||
|
||||
#endif /* defined(CONFIG_CPLUSPLUS) && defined(__cplusplus) */
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _kernel__h_ */
|
||||
|
|
|
@ -7,8 +7,9 @@
|
|||
#ifndef _kernel_structs__h_
|
||||
#define _kernel_structs__h_
|
||||
|
||||
#if !defined(_ASMLANGUAGE)
|
||||
#include <kernel.h>
|
||||
|
||||
#if !defined(_ASMLANGUAGE)
|
||||
#include <atomic.h>
|
||||
#include <misc/dlist.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue