This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d1497a8d084375ea75747b999e7df110d59beb5b Author: Xiang Xiao <[email protected]> AuthorDate: Sun Dec 25 01:09:18 2022 +0800 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 <[email protected]> --- 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 d2da0ccf94..087e6f3a43 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 }
