git: 3dc72107d29d - main - sys/compat/freebsd32: use freebsd32_uint64_t for struct ffclock_estimate32
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 19:07:00 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=3dc72107d29d304ba21f04426ec82077d23cedcd
commit 3dc72107d29d304ba21f04426ec82077d23cedcd
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-05 19:35:01 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-09 18:57:19 +0000
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
---
sys/compat/freebsd32/freebsd32.h | 2 +-
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);