sched / idle: Export cpu_idle_poll_ctrl
authorDave Gerlach <d-gerlach@ti.com>
Fri, 2 Nov 2018 10:29:45 +0000 (15:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:25:29 +0000 (15:25 +0200)
Export cpu_idle_poll_ctrl so that it can be used in modules.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
kernel/sched/idle.c

index 16f84142f2f492633b6068f8f7536cdae40c6e0d..bf1b52f2cdfad6e7c8f58122cd1db10226a33a9d 100644 (file)
@@ -32,6 +32,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)