Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Expose pmap_tlb_update_addr to the PMAP_HWPAGEW...



details:   https://anonhg.NetBSD.org/src/rev/bf933bb144fa
branches:  trunk
changeset: 983052:bf933bb144fa
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 01 06:56:41 2021 +0000

description:
Expose pmap_tlb_update_addr to the PMAP_HWPAGEWALKER platforms

diffstat:

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

diffs (34 lines):

diff -r 21b093b297d1 -r bf933bb144fa sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c   Sat May 01 06:53:08 2021 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c   Sat May 01 06:56:41 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_tlb.c,v 1.41 2020/09/24 06:45:58 skrll Exp $      */
+/*     $NetBSD: pmap_tlb.c,v 1.42 2021/05/01 06:56:41 skrll Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.41 2020/09/24 06:45:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.42 2021/05/01 06:56:41 skrll Exp $");
 
 /*
  * Manages address spaces in a TLB.
@@ -733,7 +733,6 @@
 }
 #endif /* MULTIPROCESSOR && PMAP_TLB_NEED_SHOOTDOWN */
 
-#ifndef PMAP_HWPAGEWALKER
 int
 pmap_tlb_update_addr(pmap_t pm, vaddr_t va, pt_entry_t pte, u_int flags)
 {
@@ -773,7 +772,6 @@
 
        return rv;
 }
-#endif /* !PMAP_HWPAGEWALKER */
 
 void
 pmap_tlb_invalidate_addr(pmap_t pm, vaddr_t va)



Home | Main Index | Thread Index | Old Index