From patchwork Fri Jun 7 17:40:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 17689 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BD1E925E1F for ; Fri, 7 Jun 2013 17:41:01 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hz10sf4439804vcb.11 for ; Fri, 07 Jun 2013 10:41:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=dvGf3WDz4zRg1Y7IOWBTXRIcgF7LMbBMY4WgHq4u0TE=; b=Clwu4Ufw/hlikhjF1X3frWeHpRQi4PYG6H+k8KQ9ggS75BEHw7+qMdsc60SvzlhfHD xqhCkd3beFOg04XfFZ4Zl6U5gm+wlMbP+vjqkn9DeVbSqLnNOR2CKicLfd1KfNTAqZ5W XrEBYGh1E6Fx42M66QE9pjwP0eIGhb/+5yM6uIpWtd9Nb5d9+UvjtxHwv2NaLooaB4go GS+Or93ZujAuc6Yi3snV6YC4XfDmgcN8EYa3SibEIpeW0Jn/yawHhrVQj5rQEYdIG3B3 MX9i5rQKxEI99/oWe9VnqXtr3kPbYRAzBWNkBfNRCpDVHgNMAzLVcX2//jffSUzZDZly /5Rw== X-Received: by 10.236.93.116 with SMTP id k80mr23011808yhf.32.1370626860682; Fri, 07 Jun 2013 10:41:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.117.104 with SMTP id kd8ls1972968qeb.93.gmail; Fri, 07 Jun 2013 10:41:00 -0700 (PDT) X-Received: by 10.58.164.39 with SMTP id yn7mr1314030veb.29.1370626860252; Fri, 07 Jun 2013 10:41:00 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id zp6si43851481vdb.67.2013.06.07.10.41.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 10:41:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hv10so2932870vcb.8 for ; Fri, 07 Jun 2013 10:41:00 -0700 (PDT) X-Received: by 10.220.19.74 with SMTP id z10mr21326825vca.45.1370626859938; Fri, 07 Jun 2013 10:40:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp123746vcb; Fri, 7 Jun 2013 10:40:59 -0700 (PDT) X-Received: by 10.180.11.176 with SMTP id r16mr2358450wib.58.1370626858955; Fri, 07 Jun 2013 10:40:58 -0700 (PDT) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [2a00:1450:400c:c03::236]) by mx.google.com with ESMTPS id b12si9964091wic.20.2013.06.07.10.40.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 10:40:58 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::236 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c03::236; Received: by mail-we0-f182.google.com with SMTP id p60so1625433wes.27 for ; Fri, 07 Jun 2013 10:40:58 -0700 (PDT) X-Received: by 10.180.87.162 with SMTP id az2mr2147421wib.10.1370626858473; Fri, 07 Jun 2013 10:40:58 -0700 (PDT) Received: from mai.home (AToulouse-654-1-404-219.w82-125.abo.wanadoo.fr. [82.125.3.219]) by mx.google.com with ESMTPSA id fv11sm23876767wic.11.2013.06.07.10.40.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 10:40:57 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH] cpuidle: fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning Date: Fri, 7 Jun 2013 19:40:56 +0200 Message-Id: <1370626856-2876-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQn5MQaASSW766rOFQkX+a+Ot/rvhtE5r+A8OsfQ7yc9EA8nWBNLCtyhtIWYCy4uPgYzsX05 X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Before the commit d6f346f2d2bf511c2c59176121a6e42ce60173a0, the ARCH_NEEDS_CPU_IDLE_COUPLED option was wrongly not depending on the CPU_IDLE and the Kconfig for OMAP / TEGRA was not checking this dependency when setting the option. With this patch, the ARCH_NEEDS_CPU_IDLE_COUPLED has been moved under the CPU_IDLE option. The dependency has been fixed in the relevant arch's Kconfig. Signed-off-by: Daniel Lezcano Acked-by: Arnd Bergmann --- arch/arm/mach-omap2/Kconfig | 2 +- arch/arm/mach-tegra/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index f49cd51..831e89e 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -83,7 +83,7 @@ config ARCH_OMAP4 depends on ARCH_OMAP2PLUS depends on ARCH_MULTI_V7 select ARCH_HAS_OPP - select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP + select ARCH_NEEDS_CPU_IDLE_COUPLED if (SMP && CPU_IDLE) select ARM_CPU_SUSPEND if PM select ARM_ERRATA_720789 select ARM_GIC diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 84d72fc..04c6221 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -23,7 +23,7 @@ menu "NVIDIA Tegra options" config ARCH_TEGRA_2x_SOC bool "Enable support for Tegra20 family" - select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP + select ARCH_NEEDS_CPU_IDLE_COUPLED if (SMP && CPU_IDLE) select ARM_ERRATA_720789 select ARM_ERRATA_754327 if SMP select ARM_ERRATA_764369 if SMP