From e9ae4e90b2d5e7ce2c45e7439e236c7961169b03 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 13 Jun 2024 06:47:13 +0000 Subject: [PATCH] Enable uvm percpu caches on sparc64. OK kettenis@ jca@ mpi@ --- sys/arch/sparc64/include/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h index de9c7cc617e..b7ea125f39a 100644 --- a/sys/arch/sparc64/include/cpu.h +++ b/sys/arch/sparc64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.107 2024/03/29 21:27:53 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.108 2024/06/13 06:47:13 claudio Exp $ */ /* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */ /* @@ -81,6 +81,7 @@ #include #include #include +#include /* * The cpu_info structure is part of a 64KB structure mapped both the kernel @@ -123,6 +124,8 @@ struct cpu_info { #ifdef MULTIPROCESSOR int ci_itid; struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM]; +#define __HAVE_UVM_PERCPU + struct uvm_pmr_cache ci_uvm; /* [o] page cache */ #endif int ci_node; u_int32_t ci_randseed; -- 2.20.1