Message ID | 086f30b410cd4ae9e5106a30fda3a978e6d88174.1694093327.git.geert@linux-m68k.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp45873vqo; Thu, 7 Sep 2023 10:32:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFL1esJPQy1xIPD7lwpY5dAxTktPc5ocfdkKVNRZfVvks0SBmvSmr23J8LWNaIMz6BZW4xU X-Received: by 2002:a17:906:254:b0:9a5:a701:2b94 with SMTP id 20-20020a170906025400b009a5a7012b94mr6099ejl.7.1694107929774; Thu, 07 Sep 2023 10:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694107929; cv=none; d=google.com; s=arc-20160816; b=1Ad9Frrf3qBLf3qWZz3QLZmK5XSw0SzeWD33LSlIK8V8aXkjZZtEkFTooKSdqH4HnX J30GUS7CQzitAGnbc5jqz/qtnADrpRozYx1qS4QZIkqiHRQX+hINCvDy3xcXLXlYu29o XFaz0iheE6fTy7pGUckfLh4ykpqMlr+tkPLiZB3hPp2epDFNs2QBN9BL+RhSDfuVnAI7 QpEcdSCqmpN+4tBcGzYn2tm4OxbZug7yexOb+wbj6nRfUA0NLSeSdUlM1f4NL8u50LI3 Xw1aFwlSqL94lRZLt3O5BrrPI1CZ3WkCpUuIyIlp3O640beLzBEAeOsAjj1qaH1H4L1R ce5g== 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=7f0mA51EZt7wnBds/65ZDra7Nu7RQH5OHdL8x0WaT30=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=okkAbGfwcZXPIzE5wvZ1ucl2bPlNiz7y4T4ZYU0qwzZkxdJrJq7aD1PA01JYt5D3e3 TKo/zOlFxI/OqiKPpAa3Qp5rZ5Sg1cxB7bsNbmmq4hUAt9alFn6N3DTM1HzXk6s++KqO inEWkPuQSomu1IB7eCGlj2cRCT0DC4Sy1Qtwy8LrpaB2tJmXpuEtNvApvQXJdBsF3kn8 8+wonplXl9X8iWJd1CXTQ1p6vH/U9DH8L21w873yLNbWVjRYL4TXPo9e2fsah1BhSnZm 6RkbvJjp4lYCVt1ORwU5ddNwuP54cYZNgMMJl6kcV7eCkNl28GixVnt7w5vqD5ojSZeN SvTQ== 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 ti4-20020a170907c20400b009920ac37835si10839142ejc.521.2023.09.07.10.31.56; Thu, 07 Sep 2023 10:32:09 -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 S245140AbjIGPcG (ORCPT <rfc822;jo.voordeckers@gmail.com> + 42 others); Thu, 7 Sep 2023 11:32:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245115AbjIGP3P (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 7 Sep 2023 11:29:15 -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 D8FF31BF5 for <linux-kernel@vger.kernel.org>; Thu, 7 Sep 2023 08:28:46 -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 4RhL540Zv9z4x6w6 for <linux-kernel@vger.kernel.org>; Thu, 7 Sep 2023 15:42:00 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by baptiste.telenet-ops.be with bizsmtp id j1hy2A00g1C8whw011hyXC; Thu, 07 Sep 2023 15:42:00 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qeFGR-002mAp-5O; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qeFGg-00CMiw-Da; Thu, 07 Sep 2023 15:41:58 +0200 From: Geert Uytterhoeven <geert@linux-m68k.org> To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann <arnd@arndb.de>, Finn Thain <fthain@linux-m68k.org>, Michael Schmitz <schmitzmic@gmail.com>, Philip Blundell <philb@gnu.org>, Greg Ungerer <gerg@linux-m68k.org>, Joshua Thompson <funaho@jurai.org>, Sam Creasey <sammy@sammy.net>, Laurent Vivier <laurent@vivier.eu>, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH 49/52] m68k: sun3x: Do not mark dvma_map_iommu() inline Date: Thu, 7 Sep 2023 15:41:50 +0200 Message-Id: <086f30b410cd4ae9e5106a30fda3a978e6d88174.1694093327.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694093327.git.geert@linux-m68k.org> References: <cover.1694093327.git.geert@linux-m68k.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776400916427135280 X-GMAIL-MSGID: 1776400916427135280 |
Series |
None
|
|
Commit Message
Geert Uytterhoeven
Sept. 7, 2023, 1:41 p.m. UTC
dvma_map_iommu() is called from the common Sun3/3x DVMA management code,
but never from inside arch/m68k/sun3x/dvma.c. Hence it does not make
sense to mark it inline.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/m68k/sun3x/dvma.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/m68k/sun3x/dvma.c b/arch/m68k/sun3x/dvma.c index a6034ba058454642..d1847bfa136791e2 100644 --- a/arch/m68k/sun3x/dvma.c +++ b/arch/m68k/sun3x/dvma.c @@ -143,8 +143,7 @@ inline int dvma_map_cpu(unsigned long kaddr, } -inline int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, - int len) +int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, int len) { unsigned long end, index;