From patchwork Fri Mar 20 11:43:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 46143 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A3CCD21418 for ; Fri, 20 Mar 2015 11:46:11 +0000 (UTC) Received: by wggx13 with SMTP id x13sf16862864wgg.0 for ; Fri, 20 Mar 2015 04:46:11 -0700 (PDT) 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=QgPbtz02BK32Y9lhw57gVR9TLXpQcRO7PMMdWoYHiQM=; b=P6CUsH8qXiDuTQKWGuru1JAJ3HmU8MXxSBM1JpnWvuw+V82A6Vp98FGfka1y+5QAB0 ecnaUWB0EvjwXlOi1AUexuQJ5NBJbEMeHfS9IMJcd/kcMwSNHaZeWfAJVEW7bHaVE1iq bN40l7IwySD6bqujH0eSHuV3xr3kUeJewQRkGFaEIMGDk0FsYRZo/57JUMASjanrPiy1 ZOjEjtO9+Qw7GpEQu9w951XiwjssoZBsavvS4fWxQL7JWaMqktZFDZYpf40kPdbBkzSj m7Hs+mThOhEBrlVQUddmhIU8vlwGVl+ovEGV3ABDVKMr0k+eGbGJX5Gq8SKX4dOYQZ6d jWvg== X-Gm-Message-State: ALoCoQnEYAhYqVjAJbY/xXzTCUgK1uYACurBbSGgzOA9NzqTq0OYjb+Z6zgGYD5fnU6XEafuaAaT X-Received: by 10.180.211.199 with SMTP id ne7mr552826wic.5.1426851970979; Fri, 20 Mar 2015 04:46:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.227 with SMTP id b3ls348189lak.58.gmail; Fri, 20 Mar 2015 04:46:10 -0700 (PDT) X-Received: by 10.112.29.231 with SMTP id n7mr69787142lbh.99.1426851970652; Fri, 20 Mar 2015 04:46:10 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id eo1si3012368lbc.122.2015.03.20.04.46.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 04:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbcgn8 with SMTP id gn8so73227456lbc.2 for ; Fri, 20 Mar 2015 04:46:10 -0700 (PDT) X-Received: by 10.152.204.197 with SMTP id la5mr3656069lac.32.1426851970349; Fri, 20 Mar 2015 04:46:10 -0700 (PDT) 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 h5csp968636lbj; Fri, 20 Mar 2015 04:46:09 -0700 (PDT) X-Received: by 10.70.43.134 with SMTP id w6mr6085185pdl.169.1426851966227; Fri, 20 Mar 2015 04:46:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si8715848pdo.216.2015.03.20.04.46.04; Fri, 20 Mar 2015 04:46:06 -0700 (PDT) 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 S1752155AbbCTLqA (ORCPT + 27 others); Fri, 20 Mar 2015 07:46:00 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34697 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751993AbbCTLoN (ORCPT ); Fri, 20 Mar 2015 07:44:13 -0400 Received: by wggv3 with SMTP id v3so87166008wgg.1 for ; Fri, 20 Mar 2015 04:44:12 -0700 (PDT) X-Received: by 10.180.20.43 with SMTP id k11mr23884802wie.93.1426851851931; Fri, 20 Mar 2015 04:44:11 -0700 (PDT) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id m4sm6007225wjb.25.2015.03.20.04.44.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 04:44:11 -0700 (PDT) From: Daniel Lezcano To: rjw@rjwysocki.net, lorenzo.pieralisi@arm.com 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, sboyd@codeaurora.org Subject: [PATCH V3 3/8] ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function Date: Fri, 20 Mar 2015 12:43:56 +0100 Message-Id: <1426851841-2072-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426851841-2072-1-git-send-email-daniel.lezcano@linaro.org> References: <1426851841-2072-1-git-send-email-daniel.lezcano@linaro.org> 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: 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.180 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: , List-Help: , List-Archive: List-Unsubscribe: , Call the common ARM/ARM64 'arm_cpuidle_suspend' instead of cpu_suspend function which is specific to ARM64. Signed-off-by: Daniel Lezcano Acked-by: Kevin Hilman Acked-by: Rob Herring --- drivers/cpuidle/cpuidle-arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }