From bed437f46aac7a64d6423907f898495783408db2 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 30 Jun 2021 01:08:10 +0000 Subject: [PATCH] MULTIPTOCESSOR -> MULTIPROCESSOR ok deraadt@ --- sys/arch/riscv64/riscv64/pmap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/riscv64/riscv64/pmap.c b/sys/arch/riscv64/riscv64/pmap.c index 7418fdd2bc6..80773fae117 100644 --- a/sys/arch/riscv64/riscv64/pmap.c +++ b/sys/arch/riscv64/riscv64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.13 2021/06/29 21:27:53 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.14 2021/06/30 01:08:10 jsg Exp $ */ /* * Copyright (c) 2019-2020 Brian Bamsch @@ -29,6 +29,7 @@ #include "machine/pmap.h" #include "machine/cpufunc.h" #include "machine/riscvreg.h" +#include "machine/sbi.h" void pmap_set_satp(struct proc *); void pmap_free_asid(pmap_t); @@ -44,7 +45,7 @@ void pmap_free_asid(pmap_t); static inline void tlb_flush(pmap_t pm, vaddr_t va) { -#ifdef MULTIPTOCESSOR +#ifdef MULTIPROCESSOR CPU_INFO_ITERATOR cii; struct cpu_info *ci; unsigned long hart_mask = 0; -- 2.20.1