Skip to content

Commit 1bccaee

Browse files
committed
arch: arm64: core: include kernel_arch_func.h to mitigate warning
A warning was promoted to error in twister runs due to implicit declaration of the function `z_arm64_safe_exception_stack_init()`. Include `kernel_arch_func.h` in `prep_c.c` to mitigate the warning. Signed-off-by: Chris Friedt <[email protected]>
1 parent df40dff commit 1bccaee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/core/prep_c.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* initialization is performed.
1515
*/
1616

17+
#include "kernel_arch_func.h"
18+
1719
#include <zephyr/linker/linker-defs.h>
1820
#include <zephyr/platform/hooks.h>
1921
#include <zephyr/arch/cache.h>

0 commit comments

Comments
 (0)