git: db22431755f7 - stable/14 - tsc: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:28:06 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=db22431755f73cfd8597a929a04e3b9301170bfa
commit db22431755f73cfd8597a929a04e3b9301170bfa
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:37 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:07 +0000
tsc: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit bf8f6545f6ca41e080cc3bc42009bdf253f596b4)
(cherry picked from commit 81676635bad7e4cec1fee8ab52f1401f37de3d69)
---
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 7c11a1f5f300..5874b2195dea 100644
--- a/sys/x86/x86/tsc.c
+++ b/sys/x86/x86/tsc.c
@@ -650,7 +650,7 @@ retry:
#endif /* SMP */
static void
-init_TSC_tc(void)
+init_TSC_tc(void *dummy __unused)
{
uint64_t max_freq;
int shift;