diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2022-01-08 02:30:12 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2022-01-08 02:34:49 +0000 |
| commit | 1849bc5f3ff04c128e85173aa84472a19b784e64 (patch) | |
| tree | ec12c2e7891ee1941263f8f77a79ceef2a2b2ba3 /sys/dev/mps | |
| parent | adc88b9c01b5d7a51c896091b291afbdae42b02a (diff) | |
Diffstat (limited to 'sys/dev/mps')
| -rw-r--r-- | sys/dev/mps/mps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c index b4e0142204ef..956a0301e70a 100644 --- a/sys/dev/mps/mps.c +++ b/sys/dev/mps/mps.c @@ -2092,7 +2092,8 @@ mps_periodic(void *arg) mps_reinit(sc); } - callout_reset(&sc->periodic, MPS_PERIODIC_DELAY * hz, mps_periodic, sc); + callout_reset_sbt(&sc->periodic, MPS_PERIODIC_DELAY * SBT_1S, 0, + mps_periodic, sc, C_PREL(1)); } static void |
