From patchwork Fri Apr 11 10:40:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 28264 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E40B120822 for ; Fri, 11 Apr 2014 10:40:27 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf24300403oag.10 for ; Fri, 11 Apr 2014 03:40:27 -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=eJREb42EjnoWYGzPyiV86HZRkxPbTMxMMPF2yXJ5kXE=; b=Sawh3645y75pK5711lrMdagWU+BPL662WturZBR798eBRhtSaRgWMe63VmZNkxgJ9F 1MFHcck8TS6TKaVGayHfOx0uEjUeMh/4ezAGtPpy/UQSSEpBvxL0ve0DUoQZv5DEIpI4 CWUzHljPjABhSwLZT0WI4n2DSdVuZdPLJCQb+OJShUp7skKnXBMfF4myi5SHoOUoCvXo g9r+tlm8+NBoUlT1tIQZRqZ6ZT2wQaYMWruMVLSUQ4hDY1K6qNoLVDW99VSRpSnxn5UK ZtOJFgnfwD3TlaIJRfxekqnHa1lKP3TvBhkBDt8kZMPFya0Vu3PqzZCi4n7Pv5yWAh7J EddA== X-Gm-Message-State: ALoCoQkweT99nUVeUAS8qFxF+6Ug+SCg3qz9Eh1i7fqdiYGJgnXgA06Co3s9fzBeYyntcvOS7xDo X-Received: by 10.43.79.196 with SMTP id zr4mr10146771icb.3.1397212827287; Fri, 11 Apr 2014 03:40:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.177 with SMTP id t46ls1592227qgt.16.gmail; Fri, 11 Apr 2014 03:40:27 -0700 (PDT) X-Received: by 10.52.113.1 with SMTP id iu1mr328722vdb.35.1397212827064; Fri, 11 Apr 2014 03:40:27 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id u5si1220364vdo.184.2014.04.11.03.40.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 03:40:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 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.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so4515832veb.6 for ; Fri, 11 Apr 2014 03:40:26 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr6333990vcb.23.1397212826896; Fri, 11 Apr 2014 03:40:26 -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.221.72 with SMTP id ib8csp46127vcb; Fri, 11 Apr 2014 03:40:26 -0700 (PDT) X-Received: by 10.68.181.165 with SMTP id dx5mr26496814pbc.38.1397212826104; Fri, 11 Apr 2014 03:40:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy8si3963775pab.160.2014.04.11.03.40.25; Fri, 11 Apr 2014 03:40:25 -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 S1757195AbaDKKkX (ORCPT + 8 others); Fri, 11 Apr 2014 06:40:23 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:50683 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756766AbaDKKkL (ORCPT ); Fri, 11 Apr 2014 06:40:11 -0400 Received: by mail-we0-f171.google.com with SMTP id t61so5201102wes.16 for ; Fri, 11 Apr 2014 03:40:10 -0700 (PDT) X-Received: by 10.194.77.50 with SMTP id p18mr1338723wjw.68.1397212810290; Fri, 11 Apr 2014 03:40:10 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-377-242.w86-199.abo.wanadoo.fr. [86.199.232.242]) by mx.google.com with ESMTPSA id eq8sm3683033wib.16.2014.04.11.03.40.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 03:40:09 -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 V5 10/20] ARM: exynos: cpuidle: Remove ifdef for scu_enable Date: Fri, 11 Apr 2014 12:40:05 +0200 Message-Id: <1397212815-16068-11-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397212815-16068-1-git-send-email-daniel.lezcano@linaro.org> References: <1397212815-16068-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.175 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 Reviewed-by: Tomasz Figa --- 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;