Message ID | 1390802904-28399-8-git-send-email-nicolas.pitre@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCE6L2HOQQPRBLPSS6LQKGQEDL4VEGA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0657203C4 for <linaro@patches.linaro.org>; Mon, 27 Jan 2014 06:14:06 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id ii20sf10383605qab.5 for <linaro@patches.linaro.org>; Sun, 26 Jan 2014 22:14:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=YUsk05+QJb8HJdRpqrfoBOujN8DnwPhNzTRJPzCw3Mo=; b=TOVauaZFalE3KR50BIY1PoCge3SB57Xd30R7DdVT+1wkn7dmTeJrOLmn4SZkNEZqeI vdwwZS1vtf92tCHYDXQZbHKPB3xddHd7kHYUmPqlIFJWvW1T4K7xpq7SMPoUXFOcrl0N xWKvxWM3zDKuANFfQIWKpQBVYnLSTFvfKr1NFfpNw4LgxBsdkrq1OpdmDcGj4Xv8HXbr CSmY4xCvyltkffF+toP/0HZbrkv9s24nxwlZN0NgamqetY8hMLnlr3srpTRl29t/y/hf plamjBVQuvfRKjvCXgiZq4u43A6ZEwG1sK849oMyWl3wOH6Z2oUM4RjyFW7aPyDxw6mo ZK8w== X-Gm-Message-State: ALoCoQlFGW47hBAX8c5skiuM6BG+iFES8e2lMz01i0BTxbH9Bic0fHHpqvURdMHzb3UVKBxdmKIe X-Received: by 10.58.95.1 with SMTP id dg1mr10287023veb.29.1390803245767; Sun, 26 Jan 2014 22:14:05 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.49.231 with SMTP id q94ls1598375qga.45.gmail; Sun, 26 Jan 2014 22:14:05 -0800 (PST) X-Received: by 10.52.157.1 with SMTP id wi1mr2369659vdb.12.1390803245676; Sun, 26 Jan 2014 22:14:05 -0800 (PST) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by mx.google.com with ESMTPS id vc3si1206698vdc.31.2014.01.26.22.14.05 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jan 2014 22:14:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.44; Received: by mail-vb0-f44.google.com with SMTP id f12so3127891vbg.31 for <patchwork-forward@linaro.org>; Sun, 26 Jan 2014 22:14:05 -0800 (PST) X-Received: by 10.59.0.193 with SMTP id ba1mr14695380ved.12.1390803245600; Sun, 26 Jan 2014 22:14:05 -0800 (PST) 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.174.196 with SMTP id u4csp106847vcz; Sun, 26 Jan 2014 22:14:05 -0800 (PST) X-Received: by 10.204.234.74 with SMTP id kb10mr21249303bkb.12.1390803244580; Sun, 26 Jan 2014 22:14:04 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id pf10si12850100bkb.337.2014.01.26.22.14.04 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Jan 2014 22:14:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7fPq-0003Ef-Bt; Mon, 27 Jan 2014 06:11:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7fPF-0003jo-P0; Mon, 27 Jan 2014 06:10:49 +0000 Received: from relais.videotron.ca ([24.201.245.36]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7fOC-0003YP-GP for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2014 06:09:46 +0000 Received: from yoda.home ([66.130.143.177]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0N0100CK4QFBKVJ0@VL-VM-MR006.ip.videotron.ca> for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2014 01:09:11 -0500 (EST) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 9B7702DA0683; Mon, 27 Jan 2014 01:09:11 -0500 (EST) From: Nicolas Pitre <nicolas.pitre@linaro.org> To: Russell King <linux@arm.linux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mundt <lethal@linux-sh.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Daniel Lezcano <daniel.lezcano@linaro.org> Subject: [PATCH 7/9] SH: remove redundant cpuidle_idle_call() Date: Mon, 27 Jan 2014 01:08:22 -0500 Message-id: <1390802904-28399-8-git-send-email-nicolas.pitre@linaro.org> X-Mailer: git-send-email 1.8.4.108.g55ea5f6 In-reply-to: <1390802904-28399-1-git-send-email-nicolas.pitre@linaro.org> References: <1390802904-28399-1-git-send-email-nicolas.pitre@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140127_010944_782093_519B6D3D X-CRM114-Status: GOOD ( 11.98 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [24.201.245.36 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nicolas.pitre@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.44 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c index 2ea4483fd7..be616ee0cf 100644 --- a/arch/sh/kernel/idle.c +++ b/arch/sh/kernel/idle.c @@ -16,7 +16,6 @@ #include <linux/thread_info.h> #include <linux/irqflags.h> #include <linux/smp.h> -#include <linux/cpuidle.h> #include <linux/atomic.h> #include <asm/pgalloc.h> #include <asm/smp.h> @@ -40,8 +39,7 @@ void arch_cpu_idle_dead(void) void arch_cpu_idle(void) { - if (cpuidle_idle_call()) - sh_idle(); + sh_idle(); } void __init select_idle_routine(void)
The core idle loop now takes care of it. Signed-off-by: Nicolas Pitre <nico@linaro.org> --- arch/sh/kernel/idle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)