From patchwork Fri Aug 5 12:18:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepthi Dharwar X-Patchwork-Id: 1038432 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p75CKVfS032012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 5 Aug 2011 12:20:52 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p75CIRB3027488; Fri, 5 Aug 2011 05:18:28 -0700 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p75CIOFn027469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 5 Aug 2011 05:18:26 -0700 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p75CC5a9004584 for ; Fri, 5 Aug 2011 06:12:05 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id p75CIOLM194680 for ; Fri, 5 Aug 2011 06:18:24 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p756IMPF015428 for ; Fri, 5 Aug 2011 00:18:23 -0600 Received: from [9.124.35.190] (deepthi-ThinkPad-T60p-009124035190.in.ibm.com [9.124.35.190]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p756IJ1E015354; Fri, 5 Aug 2011 00:18:20 -0600 Message-ID: <4E3BDF8A.5090103@linux.vnet.ibm.com> Date: Fri, 05 Aug 2011 17:48:18 +0530 From: Deepthi Dharwar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Len Brown References: <1312400648-17636-1-git-send-email-lenb@kernel.org> <619b3f9e65307529dd4bbc98efe9d2f3b632646c.1312400543.git.len.brown@intel.com> In-Reply-To: <619b3f9e65307529dd4bbc98efe9d2f3b632646c.1312400543.git.len.brown@intel.com> Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-4.191 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 Cc: Kevin Hilman , Len Brown , linux-pm@lists.linux-foundation.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [linux-pm] [PATCH 5/5] cpuidle: stop depending on pm_idle --build break X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 05 Aug 2011 12:20:52 +0000 (UTC) Following is a patch required to compile on arm and sh with the latest cpuidle cleanup changes. Signed-off-by: Deepthi Dharwar Signed-off-by: Trinabh Gupta 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