diff mbox

CPUIDLE: fix compiling error for ARM and SH

Message ID 1312521517-31716-1-git-send-email-bs14@csr.com (mailing list archive)
State New, archived
Headers show

Commit Message

Barry Song Aug. 5, 2011, 5:18 a.m. UTC
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(-)

Comments

Barry Song Aug. 5, 2011, 5:25 a.m. UTC | #1
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
diff mbox

Patch

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