From patchwork Sun Sep 17 19:17:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9955003 X-Patchwork-Delegate: deller@gmx.de 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 B2CCA60352 for ; Sun, 17 Sep 2017 19:17:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A10A728888 for ; Sun, 17 Sep 2017 19:17:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92799289DD; Sun, 17 Sep 2017 19:17:23 +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.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM 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 8200928888 for ; Sun, 17 Sep 2017 19:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751410AbdIQTRT (ORCPT ); Sun, 17 Sep 2017 15:17:19 -0400 Received: from mout.gmx.net ([212.227.15.19]:55071 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbdIQTRS (ORCPT ); Sun, 17 Sep 2017 15:17:18 -0400 Received: from p100.box ([193.159.28.181]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MWSwU-1dvHd40tuE-00Xaoc; Sun, 17 Sep 2017 21:17:12 +0200 Date: Sun, 17 Sep 2017 21:17:10 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Move start_parisc() into init section Message-ID: <20170917191710.GA8565@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:wF4OB+z8nm3opRcOQ6dxUim7B60Ud893K6k2gcwvUu8wm0aq4XH GJb/bHqYXVTgYLfWkMEjSaHTFgmKs4nSgFfktjJfQmQs7maYXyMUiEGbf3o9GA2sXZfSm1d ikCd4qa82LVD+RcHApEfcuQM4VhwTncGagPkIsmctYinaQMLie9CFVRk7nrMqU3Z2zDWGUF ex25CDcWBRtwIao9hhK5Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:tyMzowL8iJc=:jmQs1cgGmOK+Pe7CqkzHhW 0335uX1biVKkrT/T9Aogp/Uv52Ed9bYRzYM9dBdA2TzWre63DkQjxp46DG2DwfPpe2VIBJftE g94P/2AwTG1t4OGXsd1o0LdfUY9ktQtETuTeEikptAFu4K1nFmdpBUlCwy0s1KAEwt0uy3HEw WRJxAORcU8i0pYdcIrAa9CP1GPOmRBUVrnxJqmaOvf1etUxdul+N5OfJaFclY3I/qXPXm72ob JPd3VgWBBOeLlPjKD2DyylCTCEMbnO9nUmqziBhPJNI0FiHDUE/DX+IUDbZZ6QRA/eQqBODo5 8dAZ3N/J0zElW84TVToj9hCUbWXvB9lCwoi6sBw+QLEDFvGTKtSNpxKa/uGwlyh+bB/koFb/o LccWUR7usK/6747ObZTatSpCWaeFqIBNu0UqUh+Axpiszde+rLwQ4MoisWKu1opMEO+9AH8pw PG+Gq755vBJmu6CHG7xA2NwzcnJREJwNWu9fwPmWWNR75jReUZWV7/WARW4HkJUzWl+y+0qmU 99VsQgxuXCpcZyb15EZu2wmM7++VgEGt63FmrLNeqCQPCdnPC08g+aUqUkScP8UbZGlaL7Y/i xShTYLqyWyQb3OmnzykEy4B7QplmOrW6d1pVIU5/5XiXXUGN6kh7SoGElFS8Mtmr6bV6zzWCd 4rHRKJIWbkh6tiDdueVAvWp+4+S0V4Cf1Uuzb10RFs0XrqLJbqlgv1EvFKiOsXJTRCJnZk64o JkewvaUTxQM//Ud1+ScIzSx0wtftfMnxcuAH4dbnH6vCXmiGJPpT7Nmed/T8+k8VHfbCNokyP Vi5nbjR18qM/zI7krPxr8q8PhsXsQ== 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 --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index dee6f9d..a31e91c 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -398,9 +399,8 @@ static int __init parisc_init(void) } arch_initcall(parisc_init); -void start_parisc(void) +void __init start_parisc(void) { - extern void start_kernel(void); extern void early_trap_init(void); int ret, cpunum;