Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Mar 2026 00:37:10 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fd72ef8f8955 - stable/15 - amd64 initializecpu(): use 64bit type for rcr4() result
Message-ID:  <69acc4b6.1d405.450a4c91@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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();


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69acc4b6.1d405.450a4c91>