From 04eeef06a7e9f84460b1c10e43ba61f1f930f485 Mon Sep 17 00:00:00 2001 From: chao an Date: Wed, 12 Jun 2024 17:51:18 +0800 Subject: [PATCH] arch/tricore: update the function prototype as mainline Signed-off-by: chao an --- arch/tricore/src/common/tricore_checkstack.c | 2 +- arch/tricore/src/common/tricore_getintstack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tricore/src/common/tricore_checkstack.c b/arch/tricore/src/common/tricore_checkstack.c index f12fd84e4a..1ae7d74612 100644 --- a/arch/tricore/src/common/tricore_checkstack.c +++ b/arch/tricore/src/common/tricore_checkstack.c @@ -142,7 +142,7 @@ size_t up_check_tcbstack(struct tcb_s *tcb) } #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, (CONFIG_ARCH_INTERRUPTSTACK & ~15)); diff --git a/arch/tricore/src/common/tricore_getintstack.c b/arch/tricore/src/common/tricore_getintstack.c index 9fca8b9eaa..5ca7249e97 100644 --- a/arch/tricore/src/common/tricore_getintstack.c +++ b/arch/tricore/src/common/tricore_getintstack.c @@ -37,7 +37,7 @@ ****************************************************************************/ #if CONFIG_ARCH_INTERRUPTSTACK > 3 -uintptr_t up_get_intstackbase(void) +uintptr_t up_get_intstackbase(int cpu) { return (uintptr_t)g_intstackalloc; }