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 <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-12-25 01:09:18 +08:00
committed by Masayuki Ishikawa
parent 5f99e482b5
commit d1497a8d08
+1 -6
View File
@@ -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
}