From patchwork Thu Feb 6 14:16:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 24256 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AA1E620143 for ; Thu, 6 Feb 2014 14:16:58 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id jt11sf2178398pbb.6 for ; Thu, 06 Feb 2014 06:16:57 -0800 (PST) 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 :content-transfer-encoding; bh=ZOwp1MB8yy4Wdt7ibzAZhQmR+Nf26gTzHC03EFZfn8c=; b=BK6R1WbiyNRXwroBMvTJBm27jZlWEdlpcbUslo3vho9riabzMlM0sXVet9/vlkZBcr nhaKY7YBM6mGijxOJ1RUEqLiMwWZAyUZ7/T38+0nL6t9NYy4v1P9O5xQ7jmgEoQkxJda +knzVR651l11o3B3simBHfIaAGn/vC3qioJeaIALQuNF406bf3xLA8N6JS1AjDaHax+X 0Gr9/GBp7ydsxbb/3dwS89zu5pci8cXRZwvWzN5+EMztljlPmHW5lfSgU4X3VbNjKjiG xdUcNILtOuM930tcNC61+vKFXcjd4Cs5Ac4ulT9xia+diVBikEsXqjUphGWqPQi+q3mO vI9g== X-Gm-Message-State: ALoCoQk1gPWsMsGR85GJToriKfXEHbeR8u2lbmt3l+wV6y0zCopcq4mXzOFY3JJ2MTUgvwN8PR0h X-Received: by 10.66.227.103 with SMTP id rz7mr284304pac.37.1391696217904; Thu, 06 Feb 2014 06:16:57 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.203 with SMTP id t69ls627553qgd.87.gmail; Thu, 06 Feb 2014 06:16:57 -0800 (PST) X-Received: by 10.220.170.68 with SMTP id c4mr223290vcz.41.1391696217792; Thu, 06 Feb 2014 06:16:57 -0800 (PST) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id dj3si275603vcb.119.2014.02.06.06.16.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 06:16:57 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.43 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.43; Received: by mail-vb0-f43.google.com with SMTP id p5so1429852vbn.2 for ; Thu, 06 Feb 2014 06:16:57 -0800 (PST) X-Received: by 10.220.159.4 with SMTP id h4mr6019844vcx.1.1391696217288; Thu, 06 Feb 2014 06:16:57 -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 u4csp16091vcz; Thu, 6 Feb 2014 06:16:56 -0800 (PST) X-Received: by 10.68.211.1 with SMTP id my1mr12845216pbc.55.1391696216240; Thu, 06 Feb 2014 06:16:56 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si1324722pbf.91.2014.02.06.06.16.55; Thu, 06 Feb 2014 06:16:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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 S1753371AbaBFOQy (ORCPT + 11 others); Thu, 6 Feb 2014 09:16:54 -0500 Received: from relais.videotron.ca ([24.201.245.36]:13196 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbaBFOQx (ORCPT ); Thu, 6 Feb 2014 09:16:53 -0500 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 <0N0K0042EVO2IN20@VL-VM-MR006.ip.videotron.ca>; Thu, 06 Feb 2014 09:16:51 -0500 (EST) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id B9A4A2DA07F7; Thu, 06 Feb 2014 09:16:50 -0500 (EST) From: Nicolas Pitre To: Benjamin Herrenschmidt , Preeti U Murthy , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , "Rafael J. Wysocki" , Daniel Lezcano Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org Subject: [PATCH 2/2] ARM64: powernv: remove redundant cpuidle_idle_call() Date: Thu, 06 Feb 2014 09:16:28 -0500 Message-id: <1391696188-14540-2-git-send-email-nicolas.pitre@linaro.org> X-Mailer: git-send-email 1.8.4.108.g55ea5f6 In-reply-to: <1391696188-14540-1-git-send-email-nicolas.pitre@linaro.org> References: <1391696188-14540-1-git-send-email-nicolas.pitre@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.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.43 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: , Content-transfer-encoding: 7BIT The core idle loop now takes care of it. Signed-off-by: Nicolas Pitre --- arch/arm64/kernel/process.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 1c0a9be2ff..9cce0098f4 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -94,10 +93,8 @@ void arch_cpu_idle(void) * This should do all the clock switching and wait for interrupt * tricks */ - if (cpuidle_idle_call()) { - cpu_do_idle(); - local_irq_enable(); - } + cpu_do_idle(); + local_irq_enable(); } #ifdef CONFIG_HOTPLUG_CPU