arch/tricore: update the function prototype as mainline

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-06-12 17:51:18 +08:00 committed by Xiang Xiao
parent e081892316
commit 04eeef06a7
2 changed files with 2 additions and 2 deletions

@ -142,7 +142,7 @@ size_t up_check_tcbstack(struct tcb_s *tcb)
} }
#if CONFIG_ARCH_INTERRUPTSTACK > 15 #if CONFIG_ARCH_INTERRUPTSTACK > 15
size_t up_check_intstack(void) size_t up_check_intstack(int cpu)
{ {
return tricore_stack_check((uintptr_t)g_intstackalloc, return tricore_stack_check((uintptr_t)g_intstackalloc,
(CONFIG_ARCH_INTERRUPTSTACK & ~15)); (CONFIG_ARCH_INTERRUPTSTACK & ~15));

@ -37,7 +37,7 @@
****************************************************************************/ ****************************************************************************/
#if CONFIG_ARCH_INTERRUPTSTACK > 3 #if CONFIG_ARCH_INTERRUPTSTACK > 3
uintptr_t up_get_intstackbase(void) uintptr_t up_get_intstackbase(int cpu)
{ {
return (uintptr_t)g_intstackalloc; return (uintptr_t)g_intstackalloc;
} }