cpuidle: Fix build on ARM and SH
Subsystems (2)
PATCH 1/1 cpuidle: Fix build on ARM and SH
Commit 5f8cf82 (cpuidle: stop using pm_idle) converted arches to use cpuidle_idle_call() but contained typos on ARM and SH transposing the function name into cpuidle_call_idle().
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/kernel/process.c | 2 +- arch/sh/kernel/idle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/kernel/process.c +1 -1
@@ -197,7 +197,7 @@ void cpu_idle(void)cpu_relax (); }else {stop_critical_timings (); -if (cpuidle_call_idle ()) +if (cpuidle_idle_call ())pm_idle ();start_critical_timings ();/*
arch/sh/kernel/idle.c +1 -1
@@ -101,7 +101,7 @@ void cpu_idle(void)local_irq_disable ();/* Don't trace irqs off for idle */ stop_critical_timings (); -if (cpuidle_call_idle ()) +if (cpuidle_idle_call ())pm_idle ();/* * Sanity check to ensure that pm_idle() returns
Signature · 1 line
1.7.4.1