CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/01/20 10:18:08
Modified files:
sys/arch/hppa/dev: clock.c
Log message:
hppa: simplify itmr_rearm()
The nest of branches in itmr_rearm() can be simplified to:
if (cycles <= t1 - t0) {
/* we probably missed */
}
We're doing modular unsigned 32-bit, so the rollover case in the
current code is superfluous.
Tested by miod@.
"Works for me." miod@
