sched/sched: CONFIG_SCHED_RESUMESCHEDULER macro define error
we removed "select SCHED_RESUMESCHEDULER", As SCHED_RESUMESCHEDULER is not a necessary feature in SMP, turning it on by default may affect performance. Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
parent
e187dbd663
commit
90f9ffc2e8
|
@ -1210,7 +1210,7 @@ int group_exitinfo(pid_t pid, FAR struct binary_s *bininfo);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_RR_INTERVAL > 0 || defined(CONFIG_SCHED_RESUMESCHEDULER)
|
||||
#if defined(CONFIG_SCHED_RESUMESCHEDULER)
|
||||
void nxsched_resume_scheduler(FAR struct tcb_s *tcb);
|
||||
#else
|
||||
# define nxsched_resume_scheduler(tcb)
|
||||
|
|
|
@ -351,7 +351,6 @@ config SMP
|
|||
depends on ARCH_HAVE_TESTSET
|
||||
depends on ARCH_INTERRUPTSTACK != 0
|
||||
select SPINLOCK
|
||||
select SCHED_RESUMESCHEDULER
|
||||
select IRQCOUNT
|
||||
---help---
|
||||
Enables support for Symmetric Multi-Processing (SMP) on a multi-CPU
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "irq/irq.h"
|
||||
#include "sched/sched.h"
|
||||
|
||||
#if CONFIG_RR_INTERVAL > 0 || defined(CONFIG_SCHED_RESUMESCHEDULER)
|
||||
#if defined(CONFIG_SCHED_RESUMESCHEDULER)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
|
Loading…
Reference in New Issue