ostest: fix smp call test

CONFIG_SMP_CALL has been removed from https://github.com/apache/nuttx/pull/13282

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
Neo Xu 2024-09-29 22:04:42 +08:00 committed by Xiang Xiao
parent 97a33e7491
commit 4a2809ffc0
5 changed files with 5 additions and 5 deletions

View file

@ -139,7 +139,7 @@ if(CONFIG_TESTING_OSTEST)
list(APPEND SRCS setjmp.c)
endif()
if(CONFIG_SMP_CALL)
if(CONFIG_SMP)
list(APPEND SRCS smp_call.c)
endif()

View file

@ -134,7 +134,7 @@ ifeq ($(CONFIG_ARCH_SETJMP_H),y)
CSRCS += setjmp.c
endif
ifeq ($(CONFIG_SMP_CALL),y)
ifeq ($(CONFIG_SMP),y)
CSRCS += smp_call.c
endif

View file

@ -272,7 +272,7 @@ void setjmp_test(void);
/* smp_call.c ***************************************************************/
#ifdef CONFIG_SMP_CALL
#ifdef CONFIG_SMP
void smp_call_test(void);
#endif

View file

@ -596,7 +596,7 @@ static int user_main(int argc, char *argv[])
vfork_test();
#endif
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
#if defined(CONFIG_SMP) && defined(CONFIG_BUILD_FLAT)
printf("\nuser_main: smp call test\n");
smp_call_test();
#endif

View file

@ -29,7 +29,7 @@
#include <nuttx/sched.h>
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
#if defined(CONFIG_SMP) && defined(CONFIG_BUILD_FLAT)
/****************************************************************************
* Private Functions
****************************************************************************/