[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E3BDF8A.5090103@linux.vnet.ibm.com>
Date: Fri, 05 Aug 2011 17:48:18 +0530
From: Deepthi Dharwar <deepthi@...ux.vnet.ibm.com>
To: Len Brown <lenb@...nel.org>
CC: linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Kevin Hilman <khilman@...prootsystems.com>,
Len Brown <len.brown@...el.com>, x86@...nel.org
Subject: Re: [linux-pm] [PATCH 5/5] cpuidle: stop depending on pm_idle --build
break
Following is a patch required to compile on arm
and sh with the latest cpuidle cleanup changes.
Signed-off-by: Deepthi Dharwar <deepthi@...ux.vnet.ibm.com>
Signed-off-by: Trinabh Gupta <trinabh@...ux.vnet.ibm.com>
Index: linux/arch/arm/kernel/process.c
===================================================================
--- linux.orig/arch/arm/kernel/process.c 2011-08-05 11:02:59.000000000 +0000
+++ linux/arch/arm/kernel/process.c 2011-08-05 11:10:03.000000000 +0000
@@ -197,7 +197,7 @@
cpu_relax();
} else {
stop_critical_timings();
- if (cpuidle_call_idle())
+ if (cpuidle_idle_call())
pm_idle();
start_critical_timings();
/*
Index: linux/arch/sh/kernel/idle.c
===================================================================
--- linux.orig/arch/sh/kernel/idle.c 2011-08-05 11:02:59.000000000 +0000
+++ linux/arch/sh/kernel/idle.c 2011-08-05 11:13:23.000000000 +0000
@@ -101,7 +101,7 @@
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists