Add missing guard to handle multiple inclusion of k_mem.h
Change-Id: I788c465e167702e32ab0b0200683b4ad0f02c737 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
54e746c2c0
commit
26a2e74897
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,9 @@ if and shift operations in order to generate minimal code with maximum
|
|||
performance.
|
||||
*/
|
||||
|
||||
#ifndef _K_MEM_H
|
||||
#define _K_MEM_H
|
||||
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
#include <stddef.h>
|
||||
|
@ -59,3 +62,5 @@ performance.
|
|||
#else
|
||||
#include <nanokernel/x86/k_mem-other.h>
|
||||
#endif
|
||||
|
||||
#endif /* _K_MEM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue