mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 12:38:19 +00:00
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:
parent
97a33e7491
commit
4a2809ffc0
5 changed files with 5 additions and 5 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ void setjmp_test(void);
|
|||
|
||||
/* smp_call.c ***************************************************************/
|
||||
|
||||
#ifdef CONFIG_SMP_CALL
|
||||
#ifdef CONFIG_SMP
|
||||
void smp_call_test(void);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue