From patchwork Thu Feb 10 14:49:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 546571 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1AEnP7P004323 for ; Thu, 10 Feb 2011 14:49:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752822Ab1BJOtY (ORCPT ); Thu, 10 Feb 2011 09:49:24 -0500 Received: from na3sys009aog114.obsmtp.com ([74.125.149.211]:58456 "EHLO na3sys009aog114.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179Ab1BJOtX (ORCPT ); Thu, 10 Feb 2011 09:49:23 -0500 Received: from source ([74.125.82.182]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKTVP68RC6ZIrlzhMnql0Vlo+KBHsJxUtu@postini.com; Thu, 10 Feb 2011 06:49:23 PST Received: by mail-wy0-f182.google.com with SMTP id 19so1458108wyf.27 for ; Thu, 10 Feb 2011 06:49:21 -0800 (PST) Received: by 10.227.155.73 with SMTP id r9mr21319051wbw.63.1297349361458; Thu, 10 Feb 2011 06:49:21 -0800 (PST) From: Santosh Shilimkar References: <20110125121655.GD13300@n2100.arm.linux.org.uk> <4534e82bf14eeea9f96769df760df5ae@mail.gmail.com> <20110125125656.GG13300@n2100.arm.linux.org.uk> <20110125130422.GH13300@n2100.arm.linux.org.uk> <20110125130611.GA15663@n2100.arm.linux.org.uk> <627ff975140c8e4afbad281105b29d35@mail.gmail.com> <20110204104113.GD15004@n2100.arm.linux.org.uk> <20110204113053.GF15004@n2100.arm.linux.org.uk> <247f9ef444eeb8ca59de74837a3e9c62@mail.gmail.com> <20110207101829.GA32431@n2100.arm.linux.org.uk> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20110207101829.GA32431@n2100.arm.linux.org.uk> Thread-Index: AcvGsGRU5e8aIzTOQ9a0JdkY8fuYJACgI0Dg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Date: Thu, 10 Feb 2011 20:19:19 +0530 Message-ID: <06aa531b67f240da586a7b56238d56b2@mail.gmail.com> Subject: RE: [PATCH 4/5] ARM: scu: Move register defines to header file To: Russell King - ARM Linux Cc: catalin.marinas@arm.com, linus.ml.walleij@gmail.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ccross@android.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Feb 2011 14:49:25 +0000 (UTC) diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h index 800860d..8895c6c 100644 --- a/arch/arm/include/asm/smp_scu.h +++ b/arch/arm/include/asm/smp_scu.h @@ -5,8 +5,11 @@ #define SCU_PM_DORMANT 2 #define SCU_PM_POWEROFF 3 +#ifndef __ASSEMBLER__ + unsigned int scu_get_core_count(void __iomem *); void scu_enable(void __iomem *); int scu_power_mode(void __iomem *, unsigned int); #endif +#endif