summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-04-17 10:33:13 +0200
committerThomas Gleixner <tglx@linutronix.de>2013-04-17 10:39:38 +0200
commitd190e8195b90bc1e65c494fe08e54e9e581bfd16 (patch)
treec605d086deeec31a94fb982779b54c15c2be876f /kernel
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')
-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 @@
#include <trace/events/power.h>
-#ifndef CONFIG_GENERIC_IDLE_LOOP
-void cpu_startup_entry(enum cpuhp_state state)
-{
- cpu_idle();
-}
-#else
-
static int __read_mostly cpu_idle_force_poll;
void cpu_idle_poll_ctrl(bool enable)
@@ -112,4 +105,3 @@ void cpu_startup_entry(enum cpuhp_state state)
arch_cpu_idle_prepare();
cpu_idle_loop();
}
-#endif