Simplify the scheduler by making formerly SMP-only primitives and data
structures unconditional.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
kernel/sched/ext.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/ext.h b/kernel/sched/ext.h
index 6e5072f57771..d2f8cefae68c 100644
--- a/kernel/sched/ext.h
+++ b/kernel/sched/ext.h
@@ -65,7 +65,7 @@ static inline void init_sched_ext_class(void) {}
#endif /* CONFIG_SCHED_CLASS_EXT */
-#if defined(CONFIG_SCHED_CLASS_EXT) && defined(CONFIG_SMP)
+#if defined(CONFIG_SCHED_CLASS_EXT)
void __scx_update_idle(struct rq *rq, bool idle, bool do_notify);
static inline void scx_update_idle(struct rq *rq, bool idle, bool do_notify)
--
2.43.0