aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/kernel/process.c2
-rw-r--r--arch/sh/kernel/idle.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index d7ee0d4c072..1a347f481e5 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -197,7 +197,7 @@ void cpu_idle(void)
197 cpu_relax(); 197 cpu_relax();
198 } else { 198 } else {
199 stop_critical_timings(); 199 stop_critical_timings();
200 if (cpuidle_call_idle()) 200 if (cpuidle_idle_call())
201 pm_idle(); 201 pm_idle();
202 start_critical_timings(); 202 start_critical_timings();
203 /* 203 /*
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index 3c45de1db71..32114e0941a 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -101,7 +101,7 @@ void cpu_idle(void)
101 local_irq_disable(); 101 local_irq_disable();
102 /* Don't trace irqs off for idle */ 102 /* Don't trace irqs off for idle */
103 stop_critical_timings(); 103 stop_critical_timings();
104 if (cpuidle_call_idle()) 104 if (cpuidle_idle_call())
105 pm_idle(); 105 pm_idle();
106 /* 106 /*
107 * Sanity check to ensure that pm_idle() returns 107 * Sanity check to ensure that pm_idle() returns