From patchwork Thu Feb 6 14:16:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 24258 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 93EA820143 for ; Thu, 6 Feb 2014 14:18:02 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf2191473pbc.0 for ; Thu, 06 Feb 2014 06:18:01 -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: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=YEbQJU5H72srmSSMw2qpS4WalhPY5V8UHczhDAgPso4=; b=IM1j3ic+d9Eo3zeIWbXLbQqArZmuhSOfgj5lyWzG3R22/fJCtqf32zyy8kTIREXuTm LEo+nSHONEcpUdcpdW6O0qaMbMVZrDwJLgVJNHKaKgQZOn8Kzpe8yEx4XYmEfCKalzaL a39tpWyW8Zkn+9xW1F1m3Fk7SL5WctC8fyHz+Z2qh+nS9bGazyuAZVrZcZmsLCn5lSAF 02LMs1MJGxTbcMhtIig7IDFw699r3I6UzxIze6QsE61N4WAHbOP1hPxg0LJgunmBgFYV Jo8lVTNg/+ynbNPGiNiDH47V9hnhGUpss0lU+K5P891Q3gnjwNszMX6VbTOkm+wzHJtT B5uQ== X-Gm-Message-State: ALoCoQkwSesQoCXqz6WGaoiZawX+m+pWoB/7cNPrzweMBfgRBj1P6hgAgaV1OdJROInvM0qcmHO2 X-Received: by 10.69.16.98 with SMTP id fv2mr3497357pbd.7.1391696281825; Thu, 06 Feb 2014 06:18:01 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.195 with SMTP id 61ls556702qgv.19.gmail; Thu, 06 Feb 2014 06:18:01 -0800 (PST) X-Received: by 10.52.90.1 with SMTP id bs1mr188871vdb.56.1391696281683; Thu, 06 Feb 2014 06:18:01 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id sq4si280557vdc.67.2014.02.06.06.18.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 06:18:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 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.52; Received: by mail-vb0-f52.google.com with SMTP id p14so1429891vbm.39 for ; Thu, 06 Feb 2014 06:18:01 -0800 (PST) X-Received: by 10.58.244.71 with SMTP id xe7mr25686vec.42.1391696281526; Thu, 06 Feb 2014 06:18:01 -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 u4csp16184vcz; Thu, 6 Feb 2014 06:18:00 -0800 (PST) X-Received: by 10.66.180.200 with SMTP id dq8mr905238pac.104.1391696280325; Thu, 06 Feb 2014 06:18:00 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yh9si1325277pab.92.2014.02.06.06.17.30; Thu, 06 Feb 2014 06:17:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1753563AbaBFOQ4 (ORCPT + 27 others); Thu, 6 Feb 2014 09:16:56 -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 S1753370AbaBFOQx (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 <0N0K00IP9VO2QR60@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 958932DA069A; 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 1/2] PPC: powernv: remove redundant cpuidle_idle_call() Date: Thu, 06 Feb 2014 09:16:27 -0500 Message-id: <1391696188-14540-1-git-send-email-nicolas.pitre@linaro.org> X-Mailer: git-send-email 1.8.4.108.g55ea5f6 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.52 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/powerpc/platforms/powernv/setup.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/powerpc/platforms/powernv/setup.c b/arch/powerpc/platforms/powernv/setup.c index 21166f65c9..a932feb290 100644 --- a/arch/powerpc/platforms/powernv/setup.c +++ b/arch/powerpc/platforms/powernv/setup.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include @@ -217,16 +216,6 @@ static int __init pnv_probe(void) return 1; } -void powernv_idle(void) -{ - /* Hook to cpuidle framework if available, else - * call on default platform idle code - */ - if (cpuidle_idle_call()) { - power7_idle(); - } -} - define_machine(powernv) { .name = "PowerNV", .probe = pnv_probe, @@ -236,7 +225,7 @@ define_machine(powernv) { .show_cpuinfo = pnv_show_cpuinfo, .progress = pnv_progress, .machine_shutdown = pnv_shutdown, - .power_save = powernv_idle, + .power_save = power7_idle, .calibrate_decr = generic_calibrate_decr, #ifdef CONFIG_KEXEC .kexec_cpu_down = pnv_kexec_cpu_down,