All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CPUIDLE: fix compiling error for ARM and SH
@ 2011-08-05  5:18 Barry Song
  2011-08-05  5:25   ` Barry Song
  0 siblings, 1 reply; 3+ messages in thread
From: Barry Song @ 2011-08-05  5:18 UTC (permalink / raw)
  To: linux-arm-kernel

commit a0bfa1373859e9d11dc92561a8667588803e42d8 cause compiling errors for ARM and SH

Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Barry Song <baohua.song@csr.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 d7ee0d4..1a347f4 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 3c45de1..32114e0 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.1



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog

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

* Re: [PATCH] CPUIDLE: fix compiling error for ARM and SH
  2011-08-05  5:18 [PATCH] CPUIDLE: fix compiling error for ARM and SH Barry Song
@ 2011-08-05  5:25   ` Barry Song
  0 siblings, 0 replies; 3+ messages in thread
From: Barry Song @ 2011-08-05  5:25 UTC (permalink / raw)
  To: torvalds, Len Brown; +Cc: linux-arm-kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2094 bytes --]

Sorry for missing Mark and David's patch "[PATCH] cpuidle: Consistent
spelling of cpuidle_idle_call()", pls ignore mine.

2011/8/5 Barry Song <bs14@csr.com>:
> commit a0bfa1373859e9d11dc92561a8667588803e42d8 cause compiling errors for ARM and SH
>
> Cc: Len Brown <len.brown@intel.com>
> Signed-off-by: Barry Song <baohua.song@csr.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 d7ee0d4..1a347f4 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 3c45de1..32114e0 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.1
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* [PATCH] CPUIDLE: fix compiling error for ARM and SH
@ 2011-08-05  5:25   ` Barry Song
  0 siblings, 0 replies; 3+ messages in thread
From: Barry Song @ 2011-08-05  5:25 UTC (permalink / raw)
  To: linux-arm-kernel

Sorry for missing Mark and David's patch "[PATCH] cpuidle: Consistent
spelling of cpuidle_idle_call()", pls ignore mine.

2011/8/5 Barry Song <bs14@csr.com>:
> commit a0bfa1373859e9d11dc92561a8667588803e42d8 cause compiling errors for ARM and SH
>
> Cc: Len Brown <len.brown@intel.com>
> Signed-off-by: Barry Song <baohua.song@csr.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 d7ee0d4..1a347f4 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 3c45de1..32114e0 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.1

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

end of thread, other threads:[~2011-08-05  5:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05  5:18 [PATCH] CPUIDLE: fix compiling error for ARM and SH Barry Song
2011-08-05  5:25 ` Barry Song
2011-08-05  5:25   ` Barry Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.