Browse Source

cpuidle: Consistent spelling of cpuidle_idle_call()

Commit a0bfa1373859e9d11dc92561a8667588803e42d8 mispells
cpuidle_idle_call() on ARM and SH code.  Fix this to be consistent.

Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: x86@kernel.org
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
[ Also done by Mark Brown - th ebug has been around forever, and was
  noticed in -next, but the idle tree never picked it up. Bad bad bad ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
David Brown 14 năm trước cách đây
mục cha
commit
cbc158d6bf

+ 1 - 1
arch/arm/kernel/process.c

@@ -197,7 +197,7 @@ void cpu_idle(void)
 				cpu_relax();
 				cpu_relax();
 			} else {
 			} else {
 				stop_critical_timings();
 				stop_critical_timings();
-				if (cpuidle_call_idle())
+				if (cpuidle_idle_call())
 					pm_idle();
 					pm_idle();
 				start_critical_timings();
 				start_critical_timings();
 				/*
 				/*

+ 1 - 1
arch/sh/kernel/idle.c

@@ -101,7 +101,7 @@ void cpu_idle(void)
 			local_irq_disable();
 			local_irq_disable();
 			/* Don't trace irqs off for idle */
 			/* Don't trace irqs off for idle */
 			stop_critical_timings();
 			stop_critical_timings();
-			if (cpuidle_call_idle())
+			if (cpuidle_idle_call())
 				pm_idle();
 				pm_idle();
 			/*
 			/*
 			 * Sanity check to ensure that pm_idle() returns
 			 * Sanity check to ensure that pm_idle() returns