From patchwork Thu Sep 7 13:41:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 137683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp80048vqo; Thu, 7 Sep 2023 11:34:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG76QDXVqSOnzze3kkGNhVWuYeiRzwsnPMpHHZ068x0WtbN19d/Nnl/Vp9po++pC7O0WGYW X-Received: by 2002:a17:906:1d9:b0:9a6:5453:2013 with SMTP id 25-20020a17090601d900b009a654532013mr81535ejj.3.1694111667986; Thu, 07 Sep 2023 11:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694111667; cv=none; d=google.com; s=arc-20160816; b=Jdv3u+E8HZbjxSwAAmU9cHzNFjFIcYjSzaA57ImeKFOJCxAA/nlpowa0FZc6qhzC+S OhjkSpuUWbKXwEEI+UFdr+yWWqqGWJxwFJwRw7iy9zflMIOXP9e1vy7GjNNvvczEUbp9 sxnWUAKUbtqh+bCvGMx5nf1yaA/9seQSdXspS9hM6t04sLTK8/4/0TWQ5vUBcVwKfd1A rwwG1J3rmuF4SzhYj+wnCZDj3reuqoZk3lsIIhQ5nxQV/V2fre1JgKsBa9q4MhZ95JKd CdxVlzggiXvB3VTmJgZ/nVeOmxJC+j5bomgbLd7Pt+31i1NRHG97/MmL3vu41V3ikGD8 TKfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=I8owu3q+4OIe8j+t6wf0NnXve2yUIAiZRc6UzgS58cE=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=umo2Iy7NQjc7KTbw05ccm0zUuH4sXG8y791z+W5C9+sdAXozXSiJB7h1W7oGBggsAD K5a9z0/oEUL2leqlIxKglybU1zi/pB8U6k3RPGQgUGfoPopOJ46HVHhRXdJiSFQIbemW WwMpWQVM486jmqZJCp4Qp8RHErBqHKNFmrMKqBZZ+Enp9e+3vKc/1L5z/g5DS7LxsGRb yJm+WGrThYlruI+4FwcoTX6TSP/m2Yo1wOx7t5dLmgPlCFgxISDbFFoKV4b/xz1NU0zS u2+6D1JsiWg3pwtZ8gE4FtC45MYKPKajz/3BAfEseOHhj5wqZQtrRqqYMR2NdL80rw7C Evaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw13-20020a170906c78d00b009a2154511e7si11259114ejb.74.2023.09.07.11.34.15; Thu, 07 Sep 2023 11:34:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242986AbjIGP3H (ORCPT + 44 others); Thu, 7 Sep 2023 11:29:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244565AbjIGP1x (ORCPT ); Thu, 7 Sep 2023 11:27:53 -0400 Received: from weierstrass.telenet-ops.be (weierstrass.telenet-ops.be [IPv6:2a02:1800:110:4::f00:11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 069DB1BEF for ; Thu, 7 Sep 2023 08:27:29 -0700 (PDT) Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4RhL535jHGz4x3Hh for ; Thu, 7 Sep 2023 15:41:59 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by baptiste.telenet-ops.be with bizsmtp id j1hy2A00V1C8whw011hyX8; Thu, 07 Sep 2023 15:41:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qeFGR-002mAM-08; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qeFGg-00CMiH-8J; Thu, 07 Sep 2023 15:41:58 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 41/52] m68k: sun3: Add missing asmlinkage to sun3_init() Date: Thu, 7 Sep 2023 15:41:42 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776404836581501052 X-GMAIL-MSGID: 1776404836581501052 sun3_init() is called from assembly code, so it should be marked asmlinkage for documentation purposes. Signed-off-by: Geert Uytterhoeven --- arch/m68k/sun3/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c index b932250c9e7ffbae..4550cf25b6f0880a 100644 --- a/arch/m68k/sun3/config.c +++ b/arch/m68k/sun3/config.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -49,7 +50,7 @@ static void sun3_get_hardware_list(struct seq_file *m) seq_printf(m, "PROM Revision:\t%s\n", romvec->pv_monid); } -void __init sun3_init(void) +asmlinkage void __init sun3_init(void) { unsigned char enable_register; int i;