Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Revert previous



details:   https://anonhg.NetBSD.org/src/rev/e3dcc5961039
branches:  trunk
changeset: 983065:e3dcc5961039
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 01 14:00:57 2021 +0000

description:
Revert previous

diffstat:

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

diffs (34 lines):

diff -r 515145b94813 -r e3dcc5961039 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c   Sat May 01 13:23:07 2021 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c   Sat May 01 14:00:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_tlb.c,v 1.42 2021/05/01 06:56:41 skrll Exp $      */
+/*     $NetBSD: pmap_tlb.c,v 1.43 2021/05/01 14:00:57 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.42 2021/05/01 06:56:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.43 2021/05/01 14:00:57 skrll Exp $");
 
 /*
  * Manages address spaces in a TLB.
@@ -733,6 +733,7 @@
 }
 #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)
 {
@@ -772,6 +773,7 @@
 
        return rv;
 }
+#endif /* !PMAP_HWPAGEWALKER */
 
 void
 pmap_tlb_invalidate_addr(pmap_t pm, vaddr_t va)



Home | Main Index | Thread Index | Old Index