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: 3936851 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A493BFF02 for ; Fri, 4 Apr 2014 07:48:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CBD6203E1 for ; Fri, 4 Apr 2014 07:48:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C6DE3203DC for ; Fri, 4 Apr 2014 07:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbaDDHsB (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nY9y8Sr5FGJiLAewEEUqP+V9Ke/+CFtdXTmvyYV8TMg=; b=Oh6KxnOkNivNFVkZnFj9GGQ6rEvtttb+yHLSY1TboK4qD221hrP9yJghB1tL53VSMb PE7TXgrzOlnC2Whq6TB9BfJ2c++6ud0i6l4SDnhnYtEi8ltym1dG9R96Z3MyqV09Klsc v1qGdVv9N9ThxFGJTNyzj5Ls4QZ0PR4hJzjDZvXANzFGi1u/nL2K8VgjHjoG1mskKPgg wWaEtY8yUHZQUp8osyZsu2RhOkhPgozZo3G2tqUAbyMhp5c7WXSZqcNjvFbeheK0/94f E0eb/RMCQZrA2pzcgy9qvjqXmxw4O8zipz7Kle18DZ6IlU+XKt1IBJ4R1Buo9GChtfbk LliQ== X-Gm-Message-State: ALoCoQnSIdx9yhNZCiXPltSqxuDn6jcsxsBgcssYNrLlMx3+FErUtVvUjzNuhQ0Chj76pJnSZqN/ 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: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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; }