diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-02-05 19:35:01 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-02-09 18:57:19 +0000 |
| commit | 3dc72107d29d304ba21f04426ec82077d23cedcd (patch) | |
| tree | a032e83c1dc51e74d7105abf98e9ebfa25b1d44b | |
| parent | 485e916a67b4e700de5f50873e1e7b64de394b16 (diff) | |
sys/compat/freebsd32: use freebsd32_uint64_t for struct ffclock_estimate32
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D55135
| -rw-r--r-- | sys/compat/freebsd32/freebsd32.h | 2 | ||||
| -rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h index 15e075174786..b79ddc71dbe8 100644 --- a/sys/compat/freebsd32/freebsd32.h +++ b/sys/compat/freebsd32/freebsd32.h @@ -62,7 +62,7 @@ struct ffclock_estimate32 { struct bintime32 update_time; ffcounter update_ffcount; ffcounter leapsec_next; - uint64_t period; + freebsd32_uint64_t period; uint32_t errb_abs; uint32_t errb_rate; uint32_t status; diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 25a8558335e7..7a624b45cbf7 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -4149,7 +4149,7 @@ freebsd32_ffclock_setestimate(struct thread *td, memcpy(&cest.update_time.frac, &cest32.update_time.frac, sizeof(uint64_t)); CP(cest, cest32, update_ffcount); CP(cest, cest32, leapsec_next); - CP(cest, cest32, period); + FU64_CP(cest, cest32, period); CP(cest, cest32, errb_abs); CP(cest, cest32, errb_rate); CP(cest, cest32, status); @@ -4179,7 +4179,7 @@ freebsd32_ffclock_getestimate(struct thread *td, memcpy(&cest32.update_time.frac, &cest.update_time.frac, sizeof(uint64_t)); CP(cest32, cest, update_ffcount); CP(cest32, cest, leapsec_next); - CP(cest32, cest, period); + FU64_CP(cest32, cest, period); CP(cest32, cest, errb_abs); CP(cest32, cest, errb_rate); CP(cest32, cest, status); |
