Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm/pmap pmap_tlb_miss_lock needs to be globally visible.



details:   https://anonhg.NetBSD.org/src/rev/0397ca1b8e8e
branches:  trunk
changeset: 745798:0397ca1b8e8e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Mar 12 23:10:27 2020 +0000

description:
pmap_tlb_miss_lock needs to be globally visible.

diffstat:

 sys/uvm/pmap/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ac19ce0391b8 -r 0397ca1b8e8e sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Thu Mar 12 23:09:59 2020 +0000
+++ b/sys/uvm/pmap/pmap.c       Thu Mar 12 23:10:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.46 2020/03/11 13:30:31 thorpej Exp $        */
+/*     $NetBSD: pmap.c,v 1.47 2020/03/12 23:10:27 thorpej Exp $        */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.46 2020/03/11 13:30:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.47 2020/03/12 23:10:27 thorpej Exp $");
 
 /*
  *     Manages physical address maps.
@@ -277,7 +277,7 @@
 #define        pmap_tlb_miss_lock_enter()      pmap_md_tlb_miss_lock_enter()
 #define        pmap_tlb_miss_lock_exit()       pmap_md_tlb_miss_lock_exit()
 #else
-static kmutex_t pmap_tlb_miss_lock __cacheline_aligned;
+kmutex_t pmap_tlb_miss_lock            __cacheline_aligned;
 
 static void
 pmap_tlb_miss_lock_init(void)



Home | Main Index | Thread Index | Old Index