summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/pmap.h b/sys/arch/mips64/include/pmap.h
index df76f26e314..b38f09aa01f 100644
--- a/sys/arch/mips64/include/pmap.h
+++ b/sys/arch/mips64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.47 2018/10/22 17:31:25 krw Exp $ */
+/* $OpenBSD: pmap.h,v 1.48 2019/08/21 16:14:34 visa Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -117,6 +117,7 @@ struct pmap_asid_info {
*/
typedef struct pmap {
struct mutex pm_mtx; /* pmap lock */
+ struct mutex pm_swmtx; /* pmap switch lock */
int pm_count; /* pmap reference count */
struct pmap_statistics pm_stats; /* pmap statistics */
struct segtab *pm_segtab; /* pointers to pages of PTEs */