diff options
| author | Link Mauve <linkmauve@linkmauve.fr> | 2026-07-08 13:54:52 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-31 16:57:48 +0530 |
| commit | c93c194e4ee71a734986fd99a8b1ec9fbb7a9b8b (patch) | |
| tree | 89845929797c71b91dbd90ffa9a47f851093a791 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e299147cdc8e19c6421a6b7863dc82a35b09d967 (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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
