mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
committed by
Masayuki Ishikawa
parent
5f99e482b5
commit
d1497a8d08
+1
-6
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user