From patchwork Fri Apr 4 13:43:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 27826 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B5B5B20369 for ; Fri, 4 Apr 2014 13:43:14 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id il7sf9303628vcb.1 for ; Fri, 04 Apr 2014 06:43:14 -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=wQE0yu72QjaHEYhXS3dKhuR6CCPTr6nfY9r2mk12oiw=; b=ljjiKXw+dX18oXNdYY/q03HbZ2N2DpjKMwN70OIAQf2TMsgGuABDPOU5WqKXRldHJz 6qOafqr4GfMh+WYRKs0zusSqI24stI0419jEPzdjkOTsrm4Ag16OGIxd5fXapcteEf69 MSyO261L9a/AovPOPdwS37aXlQ1Cp1nzMFC8kl6QZLSjwJOIdrGnfqS7ZWgrvDcFtu95 vMTAMiVmWJ8Y3FWG7stJvk8LHTTS39jIHBvlvltjZtNDstTHe/sjj7LtD6SN/7Y0IOtO GCGKA0IyzQudcww82k8g//8XHj7fStEAvw4137czPe6S9h8BnXtSy30el8bUn0uUM7gP WBlA== X-Gm-Message-State: ALoCoQnQHJ1Z0tdcq7WPrUeRStseNKxMLzcO2pkW9ZiW55gVtnYwifxieIhD7Msz18KrhWkiB3pC X-Received: by 10.59.5.193 with SMTP id co1mr3461176ved.30.1396618994450; Fri, 04 Apr 2014 06:43:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.197 with SMTP id j63ls89692qgf.89.gmail; Fri, 04 Apr 2014 06:43:14 -0700 (PDT) X-Received: by 10.52.33.136 with SMTP id r8mr11200606vdi.2.1396618994329; Fri, 04 Apr 2014 06:43:14 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id qr10si1771811vcb.189.2014.04.04.06.43.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 06:43:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 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.171; Received: by mail-ve0-f171.google.com with SMTP id jy13so1435725veb.2 for ; Fri, 04 Apr 2014 06:43:14 -0700 (PDT) X-Received: by 10.220.103.141 with SMTP id k13mr751810vco.25.1396618993986; Fri, 04 Apr 2014 06:43:13 -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 v8csp115337vcv; Fri, 4 Apr 2014 06:43:12 -0700 (PDT) X-Received: by 10.66.243.131 with SMTP id wy3mr15294191pac.32.1396618991379; Fri, 04 Apr 2014 06:43:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tk5si4616090pbc.252.2014.04.04.06.43.10; Fri, 04 Apr 2014 06:43:10 -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 S1752825AbaDDNnJ (ORCPT + 9 others); Fri, 4 Apr 2014 09:43:09 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:36902 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774AbaDDNnJ (ORCPT ); Fri, 4 Apr 2014 09:43:09 -0400 Received: by mail-wg0-f43.google.com with SMTP id x13so3448286wgg.2 for ; Fri, 04 Apr 2014 06:43:08 -0700 (PDT) X-Received: by 10.180.149.240 with SMTP id ud16mr4665074wib.23.1396618988095; Fri, 04 Apr 2014 06:43:08 -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 cu6sm2845053wjb.8.2014.04.04.06.43.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 06:43:07 -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 V2 09/17] ARM: exynos: cpuidle: Remove ifdef for scu_enable Date: Fri, 4 Apr 2014 15:43:01 +0200 Message-Id: <1396618989-2897-10-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396618989-2897-1-git-send-email-daniel.lezcano@linaro.org> References: <1396618989-2897-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.171 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 Reviewed-by: Viresh Kumar Reviewed-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/pm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index aba577f..9773a00 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -244,7 +244,7 @@ static void exynos_pm_resume(void) s3c_pm_do_restore_core(exynos_core_save, ARRAY_SIZE(exynos_core_save)); - if (IS_ENABLED(CONFIG_SMP) && !soc_is_exynos5250()) + if (!soc_is_exynos5250()) scu_enable(S5P_VA_SCU); early_wakeup: @@ -336,10 +336,8 @@ static int exynos_cpu_pm_notifier(struct notifier_block *self, case CPU_PM_EXIT: if (cpu == 0) { -#ifdef CONFIG_SMP if (!soc_is_exynos5250()) scu_enable(S5P_VA_SCU); -#endif exynos_cpu_restore_register(); } break;