diff --git a/testing/ostest/CMakeLists.txt b/testing/ostest/CMakeLists.txt index 6ddbf480e..af66b2e69 100644 --- a/testing/ostest/CMakeLists.txt +++ b/testing/ostest/CMakeLists.txt @@ -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() diff --git a/testing/ostest/Makefile b/testing/ostest/Makefile index fdbdc42c0..5eabc405a 100644 --- a/testing/ostest/Makefile +++ b/testing/ostest/Makefile @@ -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 diff --git a/testing/ostest/ostest.h b/testing/ostest/ostest.h index f9065f60f..046b580e8 100644 --- a/testing/ostest/ostest.h +++ b/testing/ostest/ostest.h @@ -272,7 +272,7 @@ void setjmp_test(void); /* smp_call.c ***************************************************************/ -#ifdef CONFIG_SMP_CALL +#ifdef CONFIG_SMP void smp_call_test(void); #endif diff --git a/testing/ostest/ostest_main.c b/testing/ostest/ostest_main.c index afe1f4a24..a426bf890 100644 --- a/testing/ostest/ostest_main.c +++ b/testing/ostest/ostest_main.c @@ -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 diff --git a/testing/ostest/smp_call.c b/testing/ostest/smp_call.c index 020d4a51d..aa3b74039 100644 --- a/testing/ostest/smp_call.c +++ b/testing/ostest/smp_call.c @@ -29,7 +29,7 @@ #include -#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT) +#if defined(CONFIG_SMP) && defined(CONFIG_BUILD_FLAT) /**************************************************************************** * Private Functions ****************************************************************************/