summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2024-04-19 10:22:52 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2024-04-19 10:22:52 +0000
commit68acfc6e1e716f102731791b8bb7b2ab1c482686 (patch)
tree2d3484af8d6f36167f1df9e54b9cf37c5a28cbcb /sys/arch/amd64/include
parent5c78de79d201b5311976d0ff89fc20423df0762a (diff)
Revert per-CPU caches a double-free has been found by naddy@.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/cpu.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index a6377384ea5..998fc8edd51 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.166 2024/04/17 13:12:58 mpi Exp $ */
+/* $OpenBSD: cpu.h,v 1.167 2024/04/19 10:22:50 mpi Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -53,7 +53,6 @@
#include <sys/sched.h>
#include <sys/sensors.h>
#include <sys/srp.h>
-#include <uvm/uvm_percpu.h>
#ifdef _KERNEL
@@ -211,8 +210,6 @@ struct cpu_info {
#ifdef MULTIPROCESSOR
struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM];
-#define __HAVE_UVM_PERCPU
- struct uvm_pmr_cache ci_uvm; /* [o] page cache */
#endif
struct ksensordev ci_sensordev;