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/a9736d2a1baf
branches:  trunk
changeset: 378951:a9736d2a1baf
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 daa1293c6e03 -r a9736d2a1baf 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 @@ pmap_tlb_shootdown_bystanders(pmap_t pm)
 }
 #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 @@ pmap_tlb_update_addr(pmap_t pm, vaddr_t 
 
        return rv;
 }
-#endif /* !PMAP_HWPAGEWALKER */
 
 void
 pmap_tlb_invalidate_addr(pmap_t pm, vaddr_t va)



Home | Main Index | Thread Index | Old Index