From patchwork Mon Aug 21 20:23:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9913675 Return-Path: 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 0EEF6603FF for ; Mon, 21 Aug 2017 20:23:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0078027E63 for ; Mon, 21 Aug 2017 20:23:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F366128755; Mon, 21 Aug 2017 20:23:31 +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=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C1E228801 for ; Mon, 21 Aug 2017 20:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754341AbdHUUXb (ORCPT ); Mon, 21 Aug 2017 16:23:31 -0400 Received: from mout.gmx.net ([212.227.17.21]:55770 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754318AbdHUUXa (ORCPT ); Mon, 21 Aug 2017 16:23:30 -0400 Received: from p100.fritz.box ([193.159.21.213]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MgGDK-1dxata46UQ-00NfH7; Mon, 21 Aug 2017 22:23:05 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Cc: John David Anglin , James Bottomley Subject: [PATCH 14/14] parisc/core: Fix section mismatches Date: Mon, 21 Aug 2017 22:23:01 +0200 Message-Id: <1503346981-28024-15-git-send-email-deller@gmx.de> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1503346981-28024-1-git-send-email-deller@gmx.de> References: <1503346981-28024-1-git-send-email-deller@gmx.de> X-Provags-ID: V03:K0:BpdDnPppq9JoCOb9fMmeNpPYatyccgceizGlTvbUK5epFxhOmgn 8VYkbza8lJE/uxq67iDNPoli6TWCRBEA/RZMWRsmaTUFJitZKLXyibNRtcmAHvRsf1kBa3k 2a4jFcIpq9IzqwFA52bk1crR7r8FcJXl7zlG9jI/JNUTSV56xAqQJ7Ry5dheuVdPslqkR7E BgY/FqJXW+c7juderlH0A== X-UI-Out-Filterresults: notjunk:1; V01:K0:ed0OrkhsZ1o=:6IhVa2Ztpb0xJTrtbtP5nT kGiAJpg1DgzOwWIAw+/G2856vGUdVTXiNI5X9d8f6KcHPNljkRscWyxZ0mo6GGtGgvnslm5ga md0xVBHNO1N1HbDUS4PUnrKqVlMV8e4DjsZHLEI35l/K1D5Uh98xLIDDM/mcFAc3c39BZ5wny Ku6B8sI9AniZl5gkyQSODoauj0DiIDzlGdh5YaJrTXhqsEzKHYyUyTApryBsB9aJHj6fxPmYV 3Q+LcnGkrPFB2lBt+xAkfirBJAAj2AwAah64FlRpBinF6N7tmACqekAccJkJBNos7Wp4LNJ02 kb3oPjUHFIEmLTqfEs47CVS2eCBzbaiZJApAxh19n1kHku1vmoWNNJkdPjSra+/trFdtwlQ4g Kc5GPdUXn9bptWWOIinDWEuM85qULZZer/RzzgDU9R0ePxCCqO+4h1vFnKlebDeCkwU76kkVG CXwlxxhbhVSMJZ7mP6gOaSszvwWbfMNYxpNS6dmKa0Fzxik5veWX+Z9EOJB27oZi8N+TL3rxO 4RF2w5De0Qeqq8yzsAY3riBWaibkgAzL4uKn0C6exHZmwNMtG0kMXhafJvrpVhi0K7+SiX/aa OTXg1GThZ9fFfBQMDYc9JYhV0ZO7PiKn2SNNAlgH+CrtWlfvh9EUv/JmtcPn+M1d4Mt2DwfZp o1s9wax2m1PP1LhA04hLzxmOyUopEIEPVJmnEANOrTQfP9B/eSHi/9L50XEFqFMCAJITcu30E DbgNkpRRFtjgbPIS8jqKgtfhL/JzWHkHn3PxWfP8NsUL/9mBnpt1zg7YbujL0zOj0XkCxdhAq NNqCZ+SXLjIuYjIiAocr9xtB4p+6g== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Helge Deller --- arch/parisc/kernel/processor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index 0ab3277..1dc7f79 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -89,7 +89,7 @@ init_percpu_prof(unsigned long cpunum) * (return 1). If so, initialize the chip and tell other partners in crime * they have work to do. */ -static int processor_probe(struct parisc_device *dev) +static int __init processor_probe(struct parisc_device *dev) { unsigned long txn_addr; unsigned long cpuid; @@ -414,12 +414,12 @@ show_cpuinfo (struct seq_file *m, void *v) return 0; } -static const struct parisc_device_id processor_tbl[] = { +static const struct parisc_device_id processor_tbl[] __initconst = { { HPHW_NPROC, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, SVERSION_ANY_ID }, { 0, } }; -static struct parisc_driver cpu_driver = { +static struct parisc_driver cpu_driver __refdata = { .name = "CPU", .id_table = processor_tbl, .probe = processor_probe