linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpuidle: Fix build on ARM and SH
@ 2011-04-04  5:23 Mark Brown
  2011-04-07  5:57 ` Stephen Boyd
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2011-04-04  5:23 UTC (permalink / raw)
  To: Len Brown; +Cc: Kevin Hilman, Paul Mundt, linux-kernel, Mark Brown

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 <broonie@opensource.wolfsonmicro.com>
---
 arch/arm/kernel/process.c |    2 +-
 arch/sh/kernel/idle.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index dc9d685..f47660e 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -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();
 				/*
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index 9c7099e..1db1968 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -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
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] cpuidle: Fix build on ARM and SH
  2011-04-04  5:23 [PATCH] cpuidle: Fix build on ARM and SH Mark Brown
@ 2011-04-07  5:57 ` Stephen Boyd
  2011-04-15  4:08   ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Boyd @ 2011-04-07  5:57 UTC (permalink / raw)
  To: Len Brown
  Cc: Mark Brown, Kevin Hilman, Paul Mundt, linux-kernel, Stephen Rothwell

On 4/3/2011 10:23 PM, Mark Brown wrote:
> 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 <broonie@opensource.wolfsonmicro.com>

When will this patch get into linux-next? Every ARM and SH build has
failed for the past 3 days presumably due to this. Stephen, can you pick
it up for the time being?

> ---
>  arch/arm/kernel/process.c |    2 +-
>  arch/sh/kernel/idle.c     |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> index dc9d685..f47660e 100644
> --- a/arch/arm/kernel/process.c
> +++ b/arch/arm/kernel/process.c
> @@ -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();
>  				/*
> diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
> index 9c7099e..1db1968 100644
> --- a/arch/sh/kernel/idle.c
> +++ b/arch/sh/kernel/idle.c
> @@ -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
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] cpuidle: Fix build on ARM and SH
  2011-04-07  5:57 ` Stephen Boyd
@ 2011-04-15  4:08   ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2011-04-15  4:08 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Len Brown, Mark Brown, Kevin Hilman, Paul Mundt, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]

Hi Stephen,

Sorry for the delay.

On Wed, 06 Apr 2011 22:57:19 -0700 Stephen Boyd <sboyd@codeaurora.org> wrote:
>
> On 4/3/2011 10:23 PM, Mark Brown wrote:
> > 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 <broonie@opensource.wolfsonmicro.com>
> 
> When will this patch get into linux-next? Every ARM and SH build has
> failed for the past 3 days presumably due to this. Stephen, can you pick
> it up for the time being?
> 
> > ---
> >  arch/arm/kernel/process.c |    2 +-
> >  arch/sh/kernel/idle.c     |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> > index dc9d685..f47660e 100644
> > --- a/arch/arm/kernel/process.c
> > +++ b/arch/arm/kernel/process.c
> > @@ -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();
> >  				/*
> > diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
> > index 9c7099e..1db1968 100644
> > --- a/arch/sh/kernel/idle.c
> > +++ b/arch/sh/kernel/idle.c
> > @@ -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

I fished the patch of LKML and have applied it from today.  However, I
think SH may need a further patch for this errors:

arch/sh/kernel/idle.c:25: error: static declaration of 'pm_idle' follows non-static declaration
include/linux/pm.h:34: error: previous declaration of 'pm_idle' was here

Len, can you please get these fixed up in your idle-test tree.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] cpuidle: Fix build on ARM and SH
@ 2011-04-04  5:27 Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2011-04-04  5:27 UTC (permalink / raw)
  To: Len Brown; +Cc: Kevin Hilman, Paul Mundt, linux-kernel, Mark Brown

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 <broonie@opensource.wolfsonmicro.com>
---
 arch/arm/kernel/process.c |    2 +-
 arch/sh/kernel/idle.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index dc9d685..f47660e 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -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();
 				/*
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index 9c7099e..1db1968 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -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
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-15  4:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04  5:23 [PATCH] cpuidle: Fix build on ARM and SH Mark Brown
2011-04-07  5:57 ` Stephen Boyd
2011-04-15  4:08   ` Stephen Rothwell
2011-04-04  5:27 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).