Re: [PATCH] CPUIDLE: fix compiling error for ARM and SH

From: Barry Song
Date: Fri Aug 05 2011 - 01:26:07 EST


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@xxxxxxx>:
> commit a0bfa1373859e9d11dc92561a8667588803e42d8 cause compiling errors for ARM and SH
>
> Cc: Len Brown <len.brown@xxxxxxxxx>
> Signed-off-by: Barry Song <baohua.song@xxxxxxx>
> ---
> Â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
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_