git: 49038d1723a9 - stable/12 - tsc: use u_int for return type for prototype, same as in definitions.
Konstantin Belousov
kib at FreeBSD.org
Wed Jan 13 01:14:28 UTC 2021
The branch stable/12 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=49038d1723a9d45e064f482d510230ed5395b675
commit 49038d1723a9d45e064f482d510230ed5395b675
Author: Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-01-05 20:44:10 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-01-13 01:09:29 +0000
tsc: use u_int for return type for prototype, same as in definitions.
(cherry picked from commit 826fc3cc3d59c1d0af4caf3a08888e168bfe22b2)
---
sys/x86/x86/tsc.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c
index 92e33dd9d373..cb1ba0758db9 100644
--- a/sys/x86/x86/tsc.c
+++ b/sys/x86/x86/tsc.c
@@ -90,12 +90,12 @@ static void tsc_freq_changed(void *arg, const struct cf_level *level,
int status);
static void tsc_freq_changing(void *arg, const struct cf_level *level,
int *status);
-static unsigned tsc_get_timecount(struct timecounter *tc);
-static inline unsigned tsc_get_timecount_low(struct timecounter *tc);
-static unsigned tsc_get_timecount_lfence(struct timecounter *tc);
-static unsigned tsc_get_timecount_low_lfence(struct timecounter *tc);
-static unsigned tsc_get_timecount_mfence(struct timecounter *tc);
-static unsigned tsc_get_timecount_low_mfence(struct timecounter *tc);
+static u_int tsc_get_timecount(struct timecounter *tc);
+static inline u_int tsc_get_timecount_low(struct timecounter *tc);
+static u_int tsc_get_timecount_lfence(struct timecounter *tc);
+static u_int tsc_get_timecount_low_lfence(struct timecounter *tc);
+static u_int tsc_get_timecount_mfence(struct timecounter *tc);
+static u_int tsc_get_timecount_low_mfence(struct timecounter *tc);
static void tsc_levels_changed(void *arg, int unit);
static uint32_t x86_tsc_vdso_timehands(struct vdso_timehands *vdso_th,
struct timecounter *tc);
More information about the dev-commits-src-all
mailing list