Message ID | 1484084150-1523-8-git-send-email-labbott@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 54ABA60231 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Jan 2017 21:37:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29F4A2621F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Jan 2017 21:37:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CC0B285C7; Tue, 10 Jan 2017 21:37:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B319E285C3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Jan 2017 21:37:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cR46t-0004Nl-HL; Tue, 10 Jan 2017 21:37:39 +0000 Received: from mail-qk0-f176.google.com ([209.85.220.176]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cR45y-0002Or-87 for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2017 21:36:45 +0000 Received: by mail-qk0-f176.google.com with SMTP id s140so166511951qke.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 10 Jan 2017 13:36:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Rl8wZurv+yfHSRYr5Ww7QZ2Lx1Y3Z+/g9u2PBC6JaQY=; b=IXBR6n2rXrqLMAY/p/RxSUa90Y/UarujF3PdmGTw95ix2j9zaV5tVMu+PkyPXyhEfS M+pcQGJWs9vqSS38rkfELFvLuxLq4T0Z15qYpEOgxe/JwL5MV/8SIf2XDROuhBhEd1p5 J8lmbb18zsW7TKFS5tbwEZu2lWqKiEHqVvOajrLCiwUJNTP1B4pJxnrvWycDhVZe4ndt 7WZgEKJ+nVPJ61dm9buxGw4HNCayybtqEOZjkjcJI2D+FBwf3fmAqXN2RRB1tVP9XG74 SZpMspGMc5lYb1d4B23cNzn06o8sVYo7/Ykb+KST1RJFUiqw8TwsPAIW7hAk3wIm1NAp y26Q== X-Gm-Message-State: AIkVDXKbhBDCBmF0OFpBu+jzyBFIfE6Ql0srm2YEhh0pmoOFO7WO0ibSE70LQ/wQ41+W1tm3 X-Received: by 10.233.237.13 with SMTP id c13mr5623257qkg.227.1484084181042; Tue, 10 Jan 2017 13:36:21 -0800 (PST) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc::6b06]) by smtp.gmail.com with ESMTPSA id n188sm2406857qkc.30.2017.01.10.13.36.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jan 2017 13:36:19 -0800 (PST) From: Laura Abbott <labbott@redhat.com> To: Mark Rutland <mark.rutland@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Florian Fainelli <f.fainelli@gmail.com> Subject: [PATCHv7 07/11] drivers: firmware: psci: Use __pa_symbol for kernel symbol Date: Tue, 10 Jan 2017 13:35:46 -0800 Message-Id: <1484084150-1523-8-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484084150-1523-1-git-send-email-labbott@redhat.com> References: <1484084150-1523-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170110_133642_725233_D766DF84 X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Marc Zyngier <marc.zyngier@arm.com>, x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ingo Molnar <mingo@redhat.com>, linux-arm-kernel@lists.infradead.org, "H. Peter Anvin" <hpa@zytor.com>, Joonsoo Kim <iamjoonsoo.kim@lge.com>, Thomas Gleixner <tglx@linutronix.de>, Laura Abbott <labbott@redhat.com>, Andrew Morton <akpm@linux-foundation.org>, Christoffer Dall <christoffer.dall@linaro.org>, Marek Szyprowski <m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 6c60a50..66a8793 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -383,7 +383,7 @@ static int psci_suspend_finisher(unsigned long index) u32 *state = __this_cpu_read(psci_power_state); return psci_ops.cpu_suspend(state[index - 1], - virt_to_phys(cpu_resume)); + __pa_symbol(cpu_resume)); } int psci_cpu_suspend_enter(unsigned long index)