[PATCH] sched/idle: Export cpu_idle_poll_ctrl() symbol
From: Maulik Shah
Date: Thu Nov 25 2021 - 04:22:36 EST
Export cpu_idle_poll_ctrl() so that module drivers can use same.
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Juri Lelli <juri.lelli@xxxxxxxxxx>
Cc: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
Signed-off-by: Maulik Shah <quic_mkshah@xxxxxxxxxxx>
---
kernel/sched/idle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index d17b0a5..7fbc07f 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -33,6 +33,7 @@ void cpu_idle_poll_ctrl(bool enable)
WARN_ON_ONCE(cpu_idle_force_poll < 0);
}
}
+EXPORT_SYMBOL(cpu_idle_poll_ctrl);
#ifdef CONFIG_GENERIC_IDLE_POLL_SETUP
static int __init cpu_idle_poll_setup(char *__unused)
--
2.7.4