From patchwork Sun Nov 26 15:17:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13468877 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EAAF5C07D5A for ; Sun, 26 Nov 2023 15:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=o9GFz35dM1Y+58qfCEffO5ZVExw5n4hAZzouQ8uoZnE=; b=DKuPFlICUBlWF7 joHi9olLG1q9a1etfx4VN8ylO7iIZXC+5wRCf47ASg+1VWXhWTcWIOw+UzNBTaBk5kT488/hUKsYn EacXxOAWiFmPn1LFrhosAsAAPh7MC3JAoimX1obzMZvPIDULUzFISy+37yRFfYC09xEB/DiKba6Xj EtNYiIhHa4zj4jt9uZVBzqVTc8DUQta0qdqFBsPj5y7DtVi+XB9bGUtSzzO2ohWmLIBb+0YXobPSR rDWEpnSVtYlSAW+LpSV951Em5bsl/nObGHB9qU2aaJ2Ye8OCxSvr/kATSH63A7LFhx7yC+qEF/uHu rsMKHnZ4/AOuEP0Joe+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7Gts-00CEm7-0J; Sun, 26 Nov 2023 15:18:24 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7Gtg-00CEdF-0H for linux-riscv@lists.infradead.org; Sun, 26 Nov 2023 15:18:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id D88F5CE0E4A; Sun, 26 Nov 2023 15:18:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45156C433C7; Sun, 26 Nov 2023 15:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701011884; bh=cG0xmrQqzxNCm05ACdLm/5/wezI54OJYvdcq4wahVlc=; h=From:To:Cc:Subject:Date:From; b=kSkP8/+6o6D6pMMWo7R5finvJU7XC84qa0YeX3ftxsSvBq60BfDAOxfxmVJwITASc UTgQapkKZ9T0/AkgotOqXj15PswtR+hxYJ7blYv4hoo3muPWO9ZvxNC+FCFHSg8SyQ 1l4+moHZbwj7WTUORxad6zCw2Lqms3BbNJLduWq5cJ2J+LDFI9SDeLPvKtYlTwEggy Q+KNABR2uSwv+7K2mAnkWt8YV06mbejx2dk7fBVDnjHSAyYW1I8o0B4UCnKPsFzfqu XOKB4MC5bRaP+tUkjwp5NV4axgRCL/M+Bu1d0GdBYUQjqMNu0D5Csgr7QAhv0Ri1DZ S0dqiHCr0OCTA== From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] riscv: remove unneeded #include Date: Mon, 27 Nov 2023 00:17:38 +0900 Message-Id: <20231126151739.1557369-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231126_071815_010092_8B704664 X-CRM114-Status: UNSURE ( 7.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org There is no EXPORT_SYMBOL() line there, hence "#include " is unneeded. Signed-off-by: Masahiro Yamada Reviewed-by: Emil Renner Berthing --- arch/riscv/kernel/mcount-dyn.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/riscv/kernel/mcount-dyn.S b/arch/riscv/kernel/mcount-dyn.S index 58dd96a2a153..952233aa273a 100644 --- a/arch/riscv/kernel/mcount-dyn.S +++ b/arch/riscv/kernel/mcount-dyn.S @@ -8,7 +8,6 @@ #include #include #include -#include #include .text From patchwork Sun Nov 26 15:17:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13468876 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 575E0C4167B for ; Sun, 26 Nov 2023 15:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LnfI0LlKWoNtqfHFrh24U/96w1ehKalV6nVE6K+sG14=; b=ZGPje63qWnRMr2 ffHoNmsodWMueccY0AViat6i43ghS0oiXhZSL81+1iA4zlGapvK+gIBDYlTN2R6vPFV57L2Dgs60Y 1lgwd2rEaQYGqC8PY/piSi32N5BdBTEi3iteLT+HeiuMDi/GOLRtNmTIAqY1V8AbJjNW0wzU31DPs wXl3I27bvBAQc8BQiEzw45HHvvSHnRv0P+anofmfE4SYHOYYrKLoRsUaabDQmu8yyDm6Bdwi2LahE rthEOMPFA2wij8m1gCJ+gddetlS9BXf4Uc9qZsB5iscgS6vU7JnVnJXoa7fv052G7zDRzXMirglZq VcMZoT+qMPPOx+rDijsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7Gtg-00CEfc-2V; Sun, 26 Nov 2023 15:18:14 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7Gtb-00CEbm-2K for linux-riscv@lists.infradead.org; Sun, 26 Nov 2023 15:18:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 245B960ED4; Sun, 26 Nov 2023 15:18:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C04B4C433C9; Sun, 26 Nov 2023 15:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701011885; bh=V57AiXAYYy6sW7YrUCL2Mf2ENr9bgxbhEiWxZqtaB24=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=djweukSrCgkARY+NJsXL5917br+cLSMzI3ixps8ZSKFhDZQcxIiSCuBwDFaWjvHR+ hVNReRtB7dzCEQtVCvtxnv97tM13yE8ChnSJFu0AYXsGtI8f7YebzylgJuMxsdPvCD fMwQpf/lyGYaBfWrt4gR+++fim96obNZeAxy0NGmVlzCmblnXAsuIZM5NYiwN8r4EL 5GV+90hEF9MAhFa+Ut5Qg7VteaSOR4zjHpU6Mmh8vLkNSDjeUN7k+dWkzaC5knIbjG 7z8sCSShzyKWqItXchEz02Reskt/oRvsX2C2VAH8QDnyOfbYbXPI6dvetsFYoYYyVY ukmpSSkMQetRA== From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] riscv: replace with Date: Mon, 27 Nov 2023 00:17:39 +0900 Message-Id: <20231126151739.1557369-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231126151739.1557369-1-masahiroy@kernel.org> References: <20231126151739.1557369-1-masahiroy@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231126_071808_106939_3334830A X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost") deprecated , which is now a wrapper of . Replace #include with #include . Signed-off-by: Masahiro Yamada Reviewed-by: Emil Renner Berthing --- arch/riscv/kernel/mcount.S | 2 +- arch/riscv/lib/clear_page.S | 2 +- arch/riscv/lib/tishift.S | 2 +- arch/riscv/lib/uaccess.S | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/riscv/kernel/mcount.S b/arch/riscv/kernel/mcount.S index b4dd9ed6849e..f46db726e42e 100644 --- a/arch/riscv/kernel/mcount.S +++ b/arch/riscv/kernel/mcount.S @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2017 Andes Technology Corporation */ +#include #include #include #include @@ -9,7 +10,6 @@ #include #include #include -#include #include .text diff --git a/arch/riscv/lib/clear_page.S b/arch/riscv/lib/clear_page.S index b22de1231144..fe07ce70a619 100644 --- a/arch/riscv/lib/clear_page.S +++ b/arch/riscv/lib/clear_page.S @@ -3,10 +3,10 @@ * Copyright (c) 2023 Ventana Micro Systems Inc. */ +#include #include #include #include -#include #include #include #include diff --git a/arch/riscv/lib/tishift.S b/arch/riscv/lib/tishift.S index ef90075c4b0a..04f858afafe8 100644 --- a/arch/riscv/lib/tishift.S +++ b/arch/riscv/lib/tishift.S @@ -3,8 +3,8 @@ * Copyright (C) 2018 Free Software Foundation, Inc. */ +#include #include -#include SYM_FUNC_START(__lshrti3) beqz a2, .L1 diff --git a/arch/riscv/lib/uaccess.S b/arch/riscv/lib/uaccess.S index 3ab438f30d13..9eca131dc555 100644 --- a/arch/riscv/lib/uaccess.S +++ b/arch/riscv/lib/uaccess.S @@ -1,5 +1,5 @@ +#include #include -#include #include #include #include