diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index e71baa5fa6..2dcd7bd9c4 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -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) diff --git a/sched/Kconfig b/sched/Kconfig index b36fbd8cdb..1877b944c4 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -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 diff --git a/sched/sched/sched_resumescheduler.c b/sched/sched/sched_resumescheduler.c index 77d6bc92d2..025e0e2a43 100644 --- a/sched/sched/sched_resumescheduler.c +++ b/sched/sched/sched_resumescheduler.c @@ -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