linux/kernel/trace/rv/monitors
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202608020311.hYjqOG5k-lkp@intel.com
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260803150622.322806-1-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
2026-08-04 16:11:27 +02:00
..
deadline rv: Fix __user specifier usage in extract_params() 2026-06-03 12:33:23 +02:00
nomiss rv: Fix 32-bit build of nomiss KUnit test 2026-08-04 16:11:27 +02:00
nrp verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
opid rv: Add KUnit tests for some DA/HA monitors 2026-07-31 16:27:45 +02:00
pagefault rv: Add KUnit tests for some LTL monitors 2026-07-31 16:27:46 +02:00
rtapp rv/rtapp: Add wakeup monitor 2026-07-24 09:01:10 +02:00
sched verification/rvgen: Remove unused variable declaration from containers 2026-01-12 07:43:51 +01:00
sco rv: Add KUnit tests for some DA/HA monitors 2026-07-31 16:27:45 +02:00
scpd verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
sleep rv: Add KUnit tests for some LTL monitors 2026-07-31 16:27:46 +02:00
snep verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
snroc verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
sssw rv: Add KUnit tests for some DA/HA monitors 2026-07-31 16:27:45 +02:00
stall rv: Simplify hybrid automata monitors's clock variables 2026-07-20 13:54:26 +02:00
sts rv: Add KUnit tests for some DA/HA monitors 2026-07-31 16:27:45 +02:00
wakeup rv/rtapp: Add wakeup monitor 2026-07-24 09:01:10 +02:00
wip verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
wwnr verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00