Skip to content

Commit 4a2809f

Browse files
XuNeoxiaoxiang781216
authored andcommitted
ostest: fix smp call test
CONFIG_SMP_CALL has been removed from apache/nuttx#13282 Signed-off-by: Neo Xu <[email protected]>
1 parent 97a33e7 commit 4a2809f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

testing/ostest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ if(CONFIG_TESTING_OSTEST)
139139
list(APPEND SRCS setjmp.c)
140140
endif()
141141

142-
if(CONFIG_SMP_CALL)
142+
if(CONFIG_SMP)
143143
list(APPEND SRCS smp_call.c)
144144
endif()
145145

testing/ostest/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ifeq ($(CONFIG_ARCH_SETJMP_H),y)
134134
CSRCS += setjmp.c
135135
endif
136136

137-
ifeq ($(CONFIG_SMP_CALL),y)
137+
ifeq ($(CONFIG_SMP),y)
138138
CSRCS += smp_call.c
139139
endif
140140

testing/ostest/ostest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void setjmp_test(void);
272272

273273
/* smp_call.c ***************************************************************/
274274

275-
#ifdef CONFIG_SMP_CALL
275+
#ifdef CONFIG_SMP
276276
void smp_call_test(void);
277277
#endif
278278

testing/ostest/ostest_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ static int user_main(int argc, char *argv[])
596596
vfork_test();
597597
#endif
598598

599-
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
599+
#if defined(CONFIG_SMP) && defined(CONFIG_BUILD_FLAT)
600600
printf("\nuser_main: smp call test\n");
601601
smp_call_test();
602602
#endif

testing/ostest/smp_call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include <nuttx/sched.h>
3131

32-
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
32+
#if defined(CONFIG_SMP) && defined(CONFIG_BUILD_FLAT)
3333
/****************************************************************************
3434
* Private Functions
3535
****************************************************************************/

0 commit comments

Comments
 (0)