Message ID | 1425385777-14766-4-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBXOS22TQKGQEDY2A2QI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E14B72142B for <linaro@patches.linaro.org>; Tue, 3 Mar 2015 12:30:21 +0000 (UTC) Received: by wiwh11 with SMTP id h11sf14765691wiw.1 for <linaro@patches.linaro.org>; Tue, 03 Mar 2015 04:30:21 -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; bh=I7dCM1eeb5u19//ZHEQ4wQpftG1pyCtrD/RwHOt2W2g=; b=hh2SMjadnCzzOmzUvaafkCtbiAKCMaHXo2dAx4fjZhp80y/jI4f9Fkkn8U9XmxWHrs htUy9l9Kri9RrxP7bcP3XQoI6vVZCJAo5iz8sdsZeoZOMkqGJ5ke9dZ60MP8OS8k53FB wW8xqYUYYTFVCKwE4tEyIPX4xRB8yhPZdbKS28pCANhllRIjUNzMctbKOjOF0lG/Xb2y Xswz+pe7aHdRW30DsjB7ezb+t8j5g4jrpsaXaaBaUVop38JgIulZPfz/dp0k9RqpL+iG fMTFcwNW4sIA+WizDSqzHsyLENgBZmCtfe21eZgZZ7V7rdHVFdl3svfe2pGU/XFiBRdq OmiA== X-Gm-Message-State: ALoCoQmDQOczrL/t+GxueS56r1aPDzPKBVfGmlzWszSKNcJAOwTbc/hIXAk4Nv9xfNYC+cvE5il6 X-Received: by 10.180.80.35 with SMTP id o3mr2974040wix.0.1425385821206; Tue, 03 Mar 2015 04:30:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.228.136 with SMTP id si8ls34701lac.11.gmail; Tue, 03 Mar 2015 04:30:20 -0800 (PST) X-Received: by 10.112.171.65 with SMTP id as1mr28776818lbc.45.1425385820887; Tue, 03 Mar 2015 04:30:20 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id r4si374077lah.146.2015.03.03.04.30.20 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 04:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbvp9 with SMTP id p9so13750128lbv.8 for <patchwork-forward@linaro.org>; Tue, 03 Mar 2015 04:30:20 -0800 (PST) X-Received: by 10.112.130.39 with SMTP id ob7mr19450671lbb.32.1425385820714; Tue, 03 Mar 2015 04:30:20 -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.112.35.133 with SMTP id h5csp530813lbj; Tue, 3 Mar 2015 04:30:19 -0800 (PST) X-Received: by 10.70.138.35 with SMTP id qn3mr55088770pdb.47.1425385819063; Tue, 03 Mar 2015 04:30:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si924589pdj.49.2015.03.03.04.30.18; Tue, 03 Mar 2015 04:30:19 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756478AbbCCM3y (ORCPT <rfc822;ivan.khoronzhuk@linaro.org> + 28 others); Tue, 3 Mar 2015 07:29:54 -0500 Received: from mail-we0-f171.google.com ([74.125.82.171]:41381 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756391AbbCCM3t (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Mar 2015 07:29:49 -0500 Received: by wevm14 with SMTP id m14so39492065wev.8 for <linux-kernel@vger.kernel.org>; Tue, 03 Mar 2015 04:29:48 -0800 (PST) X-Received: by 10.194.201.164 with SMTP id kb4mr57044309wjc.32.1425385788488; Tue, 03 Mar 2015 04:29:48 -0800 (PST) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id h11sm20366995wic.14.2015.03.03.04.29.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Mar 2015 04:29:47 -0800 (PST) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: lorenzo.pieralisi@arm.com, rjw@rjwysocki.net Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin.Marinas@arm.com, robherring2@gmail.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lina.iyer@linaro.org Subject: [PATCH 3/6] ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function Date: Tue, 3 Mar 2015 13:29:34 +0100 Message-Id: <1425385777-14766-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425385777-14766-1-git-send-email-daniel.lezcano@linaro.org> References: <1425385777-14766-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) 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: <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-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/cpuidle/cpuidle-arm64.c b/drivers/cpuidle/cpuidle-arm64.c index 39a2c62..0cea244 100644 --- a/drivers/cpuidle/cpuidle-arm64.c +++ b/drivers/cpuidle/cpuidle-arm64.c @@ -49,7 +49,7 @@ static int arm64_enter_idle_state(struct cpuidle_device *dev, * call the CPU ops suspend protocol with idle index as a * parameter. */ - ret = cpu_suspend(idx); + arm_cpuidle_suspend(idx); cpu_pm_exit(); }
Call the common ARM/ARM64 'arm_cpuidle_suspend' instead of cpu_suspend function which is specific to ARM64. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- drivers/cpuidle/cpuidle-arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)