Proved stable in multiple ports bulk builds. ok kettenis@ phessler@
-/* $OpenBSD: cpu.h,v 1.23 2024/04/29 13:07:18 jsg Exp $ */
+/* $OpenBSD: cpu.h,v 1.24 2024/06/11 16:02:35 jca Exp $ */
/*
* Copyright (c) 2019 Mike Larkin <mlarkin@openbsd.org>
#include <sys/device.h>
#include <sys/sched.h>
#include <sys/srp.h>
+#include <uvm/uvm_percpu.h>
struct cpu_info {
struct device *ci_dev; /* Device corresponding to this CPU */
#ifdef MULTIPROCESSOR
struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM];
+#define __HAVE_UVM_PERCPU
+ struct uvm_pmr_cache ci_uvm;
volatile int ci_flags;
uint64_t ci_satp;
vaddr_t ci_initstack_end;