From: Dinh Nguyen <dinguyen@kernel.org>
To: arnd@arndb.de, schuster.simon@siemens-energy.com
Cc: dinguyen@kernel.org, thomas.weissschuh@linutronix.de,
linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] nios2: remove 64-bit division
Date: Mon, 19 Oct 2026 11:50:15 -0500 [thread overview]
Message-ID: <20261019165015.2656521-2-dinguyen@kernel.org> (raw)
In-Reply-To: <20261019165015.2656521-1-dinguyen@kernel.org>
The NIOS2 is not a 64-bit platform, so there is no need to support
64-bit division. Remove moddi3, udivmoddi4, and umoddi3.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
arch/nios2/kernel/nios2_ksyms.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/nios2/kernel/nios2_ksyms.c b/arch/nios2/kernel/nios2_ksyms.c
index 15a223cad84e1..400d2b8158dae 100644
--- a/arch/nios2/kernel/nios2_ksyms.c
+++ b/arch/nios2/kernel/nios2_ksyms.c
@@ -31,10 +31,7 @@ EXPORT_SYMBOL(flush_icache_range);
DECLARE_EXPORT(__gcc_bcmp);
DECLARE_EXPORT(__divsi3);
-DECLARE_EXPORT(__moddi3);
DECLARE_EXPORT(__modsi3);
-DECLARE_EXPORT(__udivmoddi4);
DECLARE_EXPORT(__udivsi3);
-DECLARE_EXPORT(__umoddi3);
DECLARE_EXPORT(__umodsi3);
DECLARE_EXPORT(__mulsi3);
--
2.42.0.411.g813d9a9188
next prev parent reply other threads:[~2026-10-19 16:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 16:50 [PATCH 1/2] nios2: remove libgcc for lshrdi3, ashldi3, ashrdi3, muldi3, and ucmpdi2 Dinh Nguyen
2026-10-19 16:50 ` Dinh Nguyen [this message]
2026-10-19 21:14 ` [PATCH 2/2] nios2: remove 64-bit division Arnd Bergmann
2026-10-19 21:20 ` [PATCH 1/2] nios2: remove libgcc for lshrdi3, ashldi3, ashrdi3, muldi3, and ucmpdi2 Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261019165015.2656521-2-dinguyen@kernel.org \
--to=dinguyen@kernel.org \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=schuster.simon@siemens-energy.com \
--cc=thomas.weissschuh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®