git: ddcd3b606c9d - main - tsc: Fix comment.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Aug 2024 23:30:32 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=ddcd3b606c9dfbc361c4067b6ff2c9af961a81a6
commit ddcd3b606c9dfbc361c4067b6ff2c9af961a81a6
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-08-06 23:21:33 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-08-06 23:22:36 +0000
tsc: Fix comment.
We do the calibration in tsc_calibrate(), not tsc_calib().
Sponsored by: Netflix
---
sys/x86/x86/tsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c
index 4edaa37d9b54..a1a5d8140b14 100644
--- a/sys/x86/x86/tsc.c
+++ b/sys/x86/x86/tsc.c
@@ -420,7 +420,7 @@ probe_tsc_freq_late(void)
} else {
/*
* Calibrate against a timecounter or the 8254 PIT. This
- * estimate will be refined later in tsc_calib().
+ * estimate will be refined later in tsc_calibrate().
*/
tsc_freq_tc(&tsc_freq);
if (bootverbose)