diff options
| author | 2026-07-08 13:54:52 +0530 | |
|---|---|---|
| committer | 2026-07-31 16:57:48 +0530 | |
| commit | c93c194e4ee71a734986fd99a8b1ec9fbb7a9b8b (patch) | |
| tree | 89845929797c71b91dbd90ffa9a47f851093a791 /scripts/Makefile.thinlto | |
| parent | rust/powerpc: Set min rustc version for powerpc (diff) | |
rust: Make __udivdi3() and __umoddi3() panic
The core crate currently depends on these two functions for i64/u64/
i128/u128/core::time::Duration formatting, but we shouldn’t use that in
the kernel so let’s panic if they are ever called.
This doesn’t yet fix drm_panic_qr.rs, which also uses __udivdi3 when
CONFIG_CC_OPTIMIZE_FOR_SIZE=y, but at least makes the rest of the kernel
build on PPC32.
Signed-off-by: Link Mauve <linkmauve@linkmauve.fr>
Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260708082454.1254320-6-mkchauras@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
