From patchwork Fri Apr 4 07:47:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 27778 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5618620369 for ; Fri, 4 Apr 2014 07:48:03 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id c41sf8709548yho.9 for ; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=3f9z7nobbEr1rYsxrxQmwKirji5vVr3eJEHeU09IB5w=; b=FRDv2foY5g5fS7i0qPnFVbTYeY/1cnPXPLIbYxNMF/Jwiv4aubyBvdydMvloEY6afQ Z+jaEpd0fxIxHYhQsg+1iMtMu64IRplKkI55/7jPGi3st8NwiMXtC9DhDbK8QrWcZzF7 Y/p81OuhoDGeuk3wPktR89wMgTV4H5MK3FTxLqs6+R9Uu+Sgo+OIwxB0Cnm25QPhkFP3 if88EJDFpvrOVdNspt2DeAQNLlFl3LV7te+nxFe9TdlHUXW1L1kzovzHHH1pN7b0KrQW h4+VfHxs3XtdusTjVwVmA6eH5l0Q8ipBy4rbVHt3K2dP3AbuYuO061tZdcxkN/DHA1iQ VSWQ== X-Gm-Message-State: ALoCoQk+So5O9tl8Dd1lGZPeNfhKgQq2gWyy9OLSGS9UT8PXflH6dRFGVShf/cYBcGVgIub/WgM+ X-Received: by 10.236.45.41 with SMTP id o29mr6275564yhb.13.1396597683127; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.197 with SMTP id s63ls932959qga.39.gmail; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) X-Received: by 10.52.119.197 with SMTP id kw5mr9974449vdb.5.1396597683046; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id i7si653598vei.85.2014.04.04.00.48.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 00:48:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so1148570veb.4 for ; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) X-Received: by 10.52.241.106 with SMTP id wh10mr10046764vdc.16.1396597682982; Fri, 04 Apr 2014 00:48:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp92810vcv; Fri, 4 Apr 2014 00:48:02 -0700 (PDT) X-Received: by 10.68.237.133 with SMTP id vc5mr13310245pbc.92.1396597682201; Fri, 04 Apr 2014 00:48:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iw3si4270530pac.96.2014.04.04.00.48.01; Fri, 04 Apr 2014 00:48:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbaDDHsB (ORCPT + 9 others); Fri, 4 Apr 2014 03:48:01 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:58647 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbaDDHsA (ORCPT ); Fri, 4 Apr 2014 03:48:00 -0400 Received: by mail-wg0-f43.google.com with SMTP id x13so2961104wgg.26 for ; Fri, 04 Apr 2014 00:47:59 -0700 (PDT) X-Received: by 10.180.149.240 with SMTP id ud16mr2172410wib.23.1396597679428; Fri, 04 Apr 2014 00:47:59 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-451-172.w83-205.abo.wanadoo.fr. [83.205.74.172]) by mx.google.com with ESMTPSA id t1sm3028163wia.1.2014.04.04.00.47.58 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 00:47:58 -0700 (PDT) From: Daniel Lezcano To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linaro-kernel@lists.linaro.org, rjw@rjwysocki.net Subject: [PATCH 09/17] ARM: exynos: cpuidle: Remove ifdef for scu_enable Date: Fri, 4 Apr 2014 09:47:55 +0200 Message-Id: <1396597683-6969-10-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396597683-6969-1-git-send-email-daniel.lezcano@linaro.org> References: <1396597683-6969-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The scu_enable function is already a noop in the scu's header file is CONFIG_SMP=n, so no need to use these macros in the code. Signed-off-by: Daniel Lezcano --- arch/arm/mach-exynos/pm.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index f43a004..c0d8640 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -363,10 +363,7 @@ static void exynos_pm_resume(void) if (!soc_is_exynos5250()) { exynos4_restore_pll(); - -#ifdef CONFIG_SMP scu_enable(S5P_VA_SCU); -#endif } early_wakeup: @@ -386,9 +383,7 @@ static int exynos_cpu_pm_notifier(struct notifier_block *self, break; case CPU_PM_EXIT: -#ifdef CONFIG_SMP scu_enable(S5P_VA_SCU); -#endif exynos_cpu_restore_register(); break; }