aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu/idle.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-04-17 04:33:13 -0400
committerThomas Gleixner <tglx@linutronix.de>2013-04-17 04:39:38 -0400
commitd190e8195b90bc1e65c494fe08e54e9e581bfd16 (patch)
treec605d086deeec31a94fb982779b54c15c2be876f /kernel/cpu/idle.c
parent8198c1696a2cd15d436ade172bfd8085f5f818d3 (diff)
idle: Remove GENERIC_IDLE_LOOP config switch
All archs are converted over. Remove the config switch and the fallback code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/cpu/idle.c')
-rw-r--r--kernel/cpu/idle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/cpu/idle.c b/kernel/cpu/idle.c
index 54c320383934..168cf407a254 100644
--- a/kernel/cpu/idle.c
+++ b/kernel/cpu/idle.c
@@ -10,13 +10,6 @@
10 10
11#include <trace/events/power.h> 11#include <trace/events/power.h>
12 12
13#ifndef CONFIG_GENERIC_IDLE_LOOP
14void cpu_startup_entry(enum cpuhp_state state)
15{
16 cpu_idle();
17}
18#else
19
20static int __read_mostly cpu_idle_force_poll; 13static int __read_mostly cpu_idle_force_poll;
21 14
22void cpu_idle_poll_ctrl(bool enable) 15void cpu_idle_poll_ctrl(bool enable)
@@ -112,4 +105,3 @@ void cpu_startup_entry(enum cpuhp_state state)
112 arch_cpu_idle_prepare(); 105 arch_cpu_idle_prepare();
113 cpu_idle_loop(); 106 cpu_idle_loop();
114} 107}
115#endif