Files
Gabriele Monaco 785095112f rv: Fix 32-bit build of nomiss KUnit test
Commit 8da2a88383 ("rv: Add KUnit tests for some DA/HA monitors")
introduced a division of a 64-bit value by 1000 in the nomiss KUnit
test. This does not compile on 32-bit systems, as standard division of
64-bit values leads to an undefined reference to __udivdi3.

Fix the build on 32-bit systems by using div_u64().

Fixes: 8da2a88383 ("rv: Add KUnit tests for some DA/HA monitors")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]
Reviewed-by: Nam Cao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gabriele Monaco <[email protected]>
2026-08-04 16:11:27 +02:00
..
2026-07-31 16:27:45 +02:00
2025-11-11 13:18:55 +01:00
2025-11-11 13:18:55 +01:00
2026-07-24 09:01:10 +02:00
2026-07-31 16:27:45 +02:00
2025-12-02 07:28:32 +01:00