git: e7a982bd56bf - stable/13 - amd64: Remove a stale comment from cpu_setregs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 19:00:31 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=e7a982bd56bf7a543437d0aa4ca9314534aa0b61
commit e7a982bd56bf7a543437d0aa4ca9314534aa0b61
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-10-11 21:22:17 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-24 18:40:18 +0000
amd64: Remove a stale comment from cpu_setregs
Reviewed by: kib, markj, emaste
Differential Revision: https://reviews.freebsd.org/D42134
(cherry picked from commit e839ebfc0dc5851d383ac38740f32e96f7bd5186)
---
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 b0b7824c4b4b..d4de3c0fd679 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -330,10 +330,6 @@ cpu_setregs(void)
register_t cr0;
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;
load_cr0(cr0);
}