Skip to contentSkip to conversation

cpuidle: Consistent spelling of cpuidle_idle_call()

PATCH In review David Brown 4 participants 4 messages Aug 4, 2011 – Aug 5, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Paul Mundt <[email protected]>
Cc x86 at kernel.org
Cc Len Brown <[email protected]>

---
The referenced commit breaks compilation on ARM, and appears it would do so on SH as well.

David

 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
index d7ee0d4..1a347f4 100644
@@ -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
index 3c45de1..32114e0 100644
@@ -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 · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#1 lore raw
Quoted 11 lines · David Brown

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

Cc Kevin Hilman <[email protected]>
Cc Paul Mundt <[email protected]>
Cc x86 at kernel.org
Cc Len Brown <[email protected]>

---
The referenced commit breaks compilation on ARM, and appears it would do so on SH as well.

Mark Brown sent this patch[1] months ago when this build breakage was noticed in linux-next. What happened to that patch? It looks like the patch that introduced the breakage was pulled from linux-next shortly after and then reintroduced today.

[1]https://lkml.org/lkml/2011/4/4/109

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw
Quoted 11 lines · Stephen Boyd
Quoted 5 lines · David Brown

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

The referenced commit breaks compilation on ARM, and appears it would do so on SH as well.

Mark Brown sent this patch[1] months ago when this build breakage was noticed in linux-next. What happened to that patch? It looks like the patch that introduced the breakage was pulled from linux-next shortly after and then reintroduced today.

Yeah, as far as I remember Stephen applied my patch to -next as Len didn't respond to it.