diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpu/idle.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/cpu/idle.c b/kernel/cpu/idle.c index 54c32038393..168cf407a25 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 |