ostest: smp_call only valid in FLAT BUILD
Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
parent
4ebd68f7d8
commit
0b26b04081
@ -596,7 +596,7 @@ static int user_main(int argc, char *argv[])
|
||||
vfork_test();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMP_CALL
|
||||
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
|
||||
printf("\nuser_main: smp call test\n");
|
||||
smp_call_test();
|
||||
#endif
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include <nuttx/sched.h>
|
||||
|
||||
#if defined(CONFIG_SMP_CALL) && defined(CONFIG_BUILD_FLAT)
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
@ -116,3 +117,4 @@ void smp_call_test(void)
|
||||
|
||||
printf("smp_call_test: Test success\n");
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user