summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-30 11:21:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-30 11:21:27 +0000
commit4f3d09d915cdf58ef139064c90541d161c027772 (patch)
tree5f90161ee34aefab0a4d64596dee541804299c0a /sys
parent10128cc57f671cb8c20c128ea2e48867f9c49469 (diff)
part of a future diff snuck into the previous commit
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 9a474f23775..48e669ff63f 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.161 2023/01/30 00:10:39 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.162 2023/01/30 11:21:26 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -669,7 +669,6 @@ pmap_bootstrap(paddr_t first_avail, paddr_t max_pa)
CPUID_LEAF(0x7, 0, dummy, dummy, ecx, dummy);
if (ecx & SEFF0ECX_PKU) {
lcr4(rcr4() | CR4_PKE);
- uvm_xonlymmu = 1;
pg_xo = PG_XO;
}
}