From cea0d947241d3d26ca89a911e6b5de37412adb7c Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 23 Aug 2024 19:47:13 +0000 Subject: [PATCH] Enable per-cpu page cache; tested on Octeon. --- sys/arch/mips64/include/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index 6523a899701..165d9cd9bbc 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.148 2024/08/08 13:56:00 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.149 2024/08/23 19:47:13 miod Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -111,6 +111,7 @@ #include #include #include +#include struct cpu_hwinfo { uint32_t c0prid; @@ -144,6 +145,8 @@ struct cpu_info { #if defined(MULTIPROCESSOR) struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM]; +#define __HAVE_UVM_PERCPU + struct uvm_pmr_cache ci_uvm; #endif /* cache information and pending flush state */ -- 2.20.1