Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Fix UVMHIST build



details:   https://anonhg.NetBSD.org/src/rev/ef5f18e37e4d
branches:  trunk
changeset: 746172:ef5f18e37e4d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Mar 23 10:35:56 2020 +0000

description:
Fix UVMHIST build

diffstat:

 sys/uvm/uvm_fault.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 7b6a4fbd832f -r ef5f18e37e4d sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Mon Mar 23 10:35:08 2020 +0000
+++ b/sys/uvm/uvm_fault.c       Mon Mar 23 10:35:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.223 2020/03/23 10:35:08 skrll Exp $    */
+/*     $NetBSD: uvm_fault.c,v 1.224 2020/03/23 10:35:56 skrll Exp $    */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.223 2020/03/23 10:35:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.224 2020/03/23 10:35:56 skrll Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1219,6 +1219,7 @@
 uvm_fault_upper_upgrade(struct uvm_faultinfo *ufi, struct uvm_faultctx *flt,
     struct vm_amap *amap, struct uvm_object *uobj)
 {
+       UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
 
        KASSERT(amap != NULL);
        KASSERT(flt->upper_lock_type == rw_lock_op(amap->am_lock));
@@ -1788,6 +1789,8 @@
     struct vm_amap *amap, struct uvm_object *uobj, struct vm_page *uobjpage)
 {
 
+       UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
+
        KASSERT(uobj != NULL);
        KASSERT(flt->lower_lock_type == rw_lock_op(uobj->vmobjlock));
 



Home | Main Index | Thread Index | Old Index