aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-10-11 21:22:17 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-10-24 18:40:17 +0000
commitfbeb784ff471375a5fa1e82bd232e335fcefbd8d (patch)
treef28388cad096d917ffdd7d9a7f720bdfd3467be5
parent92b8ce704a091719d8e0d2d4957bacf4b9882a63 (diff)
downloadsrc-fbeb784ff471375a5fa1e82bd232e335fcefbd8d.tar.gz
src-fbeb784ff471375a5fa1e82bd232e335fcefbd8d.zip
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)
-rw-r--r--sys/amd64/amd64/machdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 512f960926a2..f235d72519ae 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);