Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 21:32:32 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e839ebfc0dc5 - main - amd64: Remove a stale comment from cpu_setregs
Message-ID:  <202310112132.39BLWWX5007463@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=e839ebfc0dc5851d383ac38740f32e96f7bd5186

commit e839ebfc0dc5851d383ac38740f32e96f7bd5186
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-10-11 21:22:17 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-11 21:22:17 +0000

    amd64: Remove a stale comment from cpu_setregs
    
    Reviewed by:    kib, markj, emaste
    Differential Revision:  https://reviews.freebsd.org/D42134
---
 sys/amd64/amd64/machdep.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 4b81f5b9671e..440c21c918be 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -326,10 +326,6 @@ cpu_setregs(void)
 
 	TSENTER();
 	cr0 = rcr0();
-	/*
-	 * CR0_MP, CR0_NE and CR0_TS are also set by npx_probe() for the
-	 * BSP.  See the comments there about why we set them.
-	 */
 	cr0 |= CR0_MP | CR0_NE | CR0_TS | CR0_WP | CR0_AM;
 	TSENTER2("load_cr0");
 	load_cr0(cr0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310112132.39BLWWX5007463>