From c3c4ea730df0cb3b1bbc452cff93e37af6dabf75 Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Thu, 8 Feb 2018 12:34:35 -0800 Subject: [PATCH] nios2: Add include for _check_stack_sentinel() This API moved into kswap.h and the resulting warning on this arch got missed. Signed-off-by: Andy Ross --- arch/nios2/core/irq_manage.c | 1 + tests/kernel/fatal/prj.conf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/nios2/core/irq_manage.c b/arch/nios2/core/irq_manage.c index 588cc339ef6..fafff1cedbf 100644 --- a/arch/nios2/core/irq_manage.c +++ b/arch/nios2/core/irq_manage.c @@ -19,6 +19,7 @@ #include #include #include +#include void _irq_spurious(void *unused) { diff --git a/tests/kernel/fatal/prj.conf b/tests/kernel/fatal/prj.conf index 80aed8ac9ff..88a31e92e06 100644 --- a/tests/kernel/fatal/prj.conf +++ b/tests/kernel/fatal/prj.conf @@ -1,2 +1,3 @@ -CONFIG_HW_STACK_PROTECTION=y +CONFIG_STACK_SENTINEL=y +CONFIG_HW_STACK_PROTECTION=n CONFIG_ZTEST=y