git: fd72ef8f8955 - stable/15 - amd64 initializecpu(): use 64bit type for rcr4() result
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Mar 2026 00:37:10 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=fd72ef8f8955adf91eb6831b41d778aa1289bb18
commit fd72ef8f8955adf91eb6831b41d778aa1289bb18
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-01 01:00:28 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-03-08 00:36:42 +0000
amd64 initializecpu(): use 64bit type for rcr4() result
(cherry picked from commit 6099b4600256552fc6f664c82b7dd0325a4b5b19)
---
sys/amd64/amd64/initcpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c
index 4c57c27596ad..7161cf631508 100644
--- a/sys/amd64/amd64/initcpu.c
+++ b/sys/amd64/amd64/initcpu.c
@@ -276,7 +276,7 @@ void
initializecpu(void)
{
uint64_t msr;
- uint32_t cr4;
+ uint64_t cr4;
TSENTER();
cr4 = rcr4();