From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423317Ab3CVVY7 (ORCPT ); Fri, 22 Mar 2013 17:24:59 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:50818 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423298Ab3CVVY5 (ORCPT ); Fri, 22 Mar 2013 17:24:57 -0400 From: Kevin Hilman To: Thomas Gleixner Cc: LKML , linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , Rusty Russell , Paul McKenney , Ingo Molnar , Peter Zijlstra , "Srivatsa S. Bhat" , Magnus Damm , Russell King Subject: Re: [patch 08/34] arm: Use generic idle loop References: <20130321214930.752934102@linutronix.de> <20130321215233.826238797@linutronix.de> Date: Fri, 22 Mar 2013 14:24:53 -0700 In-Reply-To: <20130321215233.826238797@linutronix.de> (Thomas Gleixner's message of "Thu, 21 Mar 2013 21:53:02 -0000") Message-ID: <87zjxv9lga.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, Thomas Gleixner writes: > Use the generic idle loop and replace enable/disable_hlt with the > respective core functions. > > Signed-off-by: Thomas Gleixner > Cc: Russell King I gave patches 1-5 + this a quick spin on ARM (specifially some OMAP3 and OMAP4 platforms, with and without CPUidle enabled.) The OMAP stuff needed a couple minor compile fixes (below), but otherwise it passes the quick "seems to work" test. So at least for ARM/OMAP: Tested-by: Kevin Hilman Kevin diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 23c653a..db37f49 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 3a6c6b8..2f17f95 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -138,6 +138,7 @@ #include #include #include +#include #include