summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-11-29 23:27:07 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-11-29 23:27:07 +0000
commit40d315c6c96ab9307eabfc9425a909be7ced600c (patch)
tree36c2cfa06085f94e4722ef36b2d0077262595dea /sys
parent545d0f0638efcaf71f598d335c8dd570474203e5 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 8f1fb34880f7..a1ccaf020f49 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -589,8 +589,7 @@ cpu_setregs(void)
* 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 |= CR0_WP | CR0_AM;
+ cr0 |= CR0_MP | CR0_NE | CR0_TS | CR0_WP | CR0_AM;
load_cr0(cr0);
}