Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2540620imu; Thu, 29 Nov 2018 06:36:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/XTgDrLjJj88lswTR9RbejO4bNlP3HwPS2a2Qx9o8vq/l19Y/rkqT8Y+R4UiVtb9ypIUnXX X-Received: by 2002:a62:cdd:: with SMTP id 90mr1606434pfm.219.1543502215784; Thu, 29 Nov 2018 06:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543502215; cv=none; d=google.com; s=arc-20160816; b=GZZSHI9AN3GhdYwg4fiP+qvqFsf6312zm2U7BiJgYKCRwGQVor7qWu6IENO+3fZC8A va7VU4MhTBVNbs0iN9gh4zXebHw5OC1pjrEaEzVIRvXZsbdncc65DhLvQdCDIdvyk0mu LLsoW4vyE4fzMjIZ5vfsZpkDkxamnL7O31ABS/ydZccZivE50JEKqPSEukQwrsutzlzZ RlcWIUKS4E+Qod84Hfz2FArXVMktP+KPD092J51scTCPpAm7v+X5AX+9jnLfR/LCju/4 HJPN82SaSbkZnn76vbWF3Ta7KwscU8Ko4HZ31jxidBnLWTMH1oF7X52BsI28pPC38i70 eaog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6B0J2mKjWoDXIQ/aWQVFu7vYEuxvUHuilYsWeAu1nFE=; b=mczoMxvxnBV7a/TObjAWGG5KCO8RBJwuzq5mBNqiTsNYrHHOQpFSL7AzB9r53dPfrF JrwZsg/L3+98y/0HA2AL3nj1l3hgHG0AtuQEVNP7dS+APERlkGAXeYk3k9hIMnbJGOMu YSAELZ36K2thscjGXe8E8xDq4Py4ZzJhHY3WE8YMEcrxVKkwcjRdL4ZS+XXV85+to6xR +9sqtkKVhqcpbWnfE5iriZDff/cPnZChSq0Qg8rQNjfeRoDmkEopD4DaiMWlWJp+r1Sv /WIyRgswm/bbI1dT2v5uWove4zkWHaMynEMu4PIgCIuHY1KySZTvKbMko0Q1p98r0AGa Zg+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BmvFrIrC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si2048874pgc.85.2018.11.29.06.36.40; Thu, 29 Nov 2018 06:36:55 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BmvFrIrC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389152AbeK3BhD (ORCPT + 99 others); Thu, 29 Nov 2018 20:37:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:39754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732338AbeK3BhC (ORCPT ); Thu, 29 Nov 2018 20:37:02 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 134E721479; Thu, 29 Nov 2018 14:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501889; bh=qPGw64zRS//kgIwfCjGfal0vlqY5CgWce8zAay7XQrQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BmvFrIrCNtWQ52ceUQxeeVAQJY57fWh9ZfBz6x0wkdYY3X+6PCVMT9cintpiotNQD Ro4ywwHFhPwBkBBz83ln00NfrTWA6IoLnCJC/65z/KNscp629BKyat8hD72gu8qoFK XwjDNbf6UYeGR/+a9+5mbbQna1o4z25A7osqUdLQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julien Thierry , Russell King , Sasha Levin Subject: [PATCH 4.19 082/110] ARM: make lookup_processor_type() non-__init Date: Thu, 29 Nov 2018 15:12:53 +0100 Message-Id: <20181129135924.570029302@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129135921.231283053@linuxfoundation.org> References: <20181129135921.231283053@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 899a42f836678a595f7d2bc36a5a0c2b03d08cbc ] Move lookup_processor_type() out of the __init section so it is callable from (eg) the secondary startup code during hotplug. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed-off-by: Sasha Levin --- arch/arm/kernel/head-common.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S index 6e0375e7db05..997b02302c31 100644 --- a/arch/arm/kernel/head-common.S +++ b/arch/arm/kernel/head-common.S @@ -145,6 +145,9 @@ __mmap_switched_data: #endif .size __mmap_switched_data, . - __mmap_switched_data + __FINIT + .text + /* * This provides a C-API version of __lookup_processor_type */ @@ -156,9 +159,6 @@ ENTRY(lookup_processor_type) ldmfd sp!, {r4 - r6, r9, pc} ENDPROC(lookup_processor_type) - __FINIT - .text - /* * Read processor ID register (CP#15, CR0), and look up in the linker-built * supported processor list. Note that we can't use the absolute addresses -- 2.17.1