From d1497a8d084375ea75747b999e7df110d59beb5b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 25 Dec 2022 01:09:18 +0800 Subject: [PATCH] sched/assert: Don't call up_check_tcbstack for the kernel stack since up_check_tcbstack only check the userspace stack color Signed-off-by: Xiang Xiao --- sched/misc/assert.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sched/misc/assert.c b/sched/misc/assert.c index d2da0ccf944..087e6f3a43a 100644 --- a/sched/misc/assert.c +++ b/sched/misc/assert.c @@ -205,12 +205,7 @@ static void show_stacks(FAR struct tcb_s *rtcb) dump_stack("Kernel", sp, (uintptr_t)rtcb->xcp.kstack, CONFIG_ARCH_KERNEL_STACKSIZE, -# ifdef CONFIG_STACK_COLORATION - up_check_tcbstack(rtcb), -# else - 0, -# endif - false); + 0, false); #endif }