Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap s/pte/ptep/ in pmap_pte_process for consistency...
details: https://anonhg.NetBSD.org/src/rev/996661e02128
branches: trunk
changeset: 454489:996661e02128
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 18 18:29:58 2019 +0000
description:
s/pte/ptep/ in pmap_pte_process for consistency with other code. NFCI.
diffstat:
sys/uvm/pmap/pmap_segtab.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r efebc676d912 -r 996661e02128 sys/uvm/pmap/pmap_segtab.c
--- a/sys/uvm/pmap/pmap_segtab.c Wed Sep 18 18:18:44 2019 +0000
+++ b/sys/uvm/pmap/pmap_segtab.c Wed Sep 18 18:29:58 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_segtab.c,v 1.8 2019/09/18 18:18:44 skrll Exp $ */
+/* $NetBSD: pmap_segtab.c,v 1.9 2019/09/18 18:29:58 skrll Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.8 2019/09/18 18:18:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.9 2019/09/18 18:29:58 skrll Exp $");
/*
* Manages physical address maps.
@@ -407,12 +407,12 @@
* If VA belongs to an unallocated segment,
* skip to the next segment boundary.
*/
- pt_entry_t * const pte = pmap_pte_lookup(pmap, sva);
- if (pte != NULL) {
+ pt_entry_t * const ptep = pmap_pte_lookup(pmap, sva);
+ if (ptep != NULL) {
/*
* Callback to deal with the ptes for this segment.
*/
- (*callback)(pmap, sva, lastseg_va, pte, flags);
+ (*callback)(pmap, sva, lastseg_va, ptep, flags);
}
/*
* In theory we could release pages with no entries,
Home |
Main Index |
Thread Index |
Old Index