Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm fix the build for when UVMHIST is enabled.



details:   https://anonhg.NetBSD.org/src/rev/f3aa55d71665
branches:  trunk
changeset: 967205:f3aa55d71665
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Dec 02 20:02:02 2019 +0000

description:
fix the build for when UVMHIST is enabled.

diffstat:

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

diffs (27 lines):

diff -r d5840a6517d6 -r f3aa55d71665 sys/uvm/uvm_anon.c
--- a/sys/uvm/uvm_anon.c        Mon Dec 02 19:49:12 2019 +0000
+++ b/sys/uvm/uvm_anon.c        Mon Dec 02 20:02:02 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_anon.c,v 1.67 2019/12/01 23:14:47 uwe Exp $        */
+/*     $NetBSD: uvm_anon.c,v 1.68 2019/12/02 20:02:02 chs Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.67 2019/12/01 23:14:47 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.68 2019/12/02 20:02:02 chs Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -209,6 +209,8 @@
        struct vm_anon **anonp = &anonlst;
        struct vm_page *pg;
 
+       UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
+
        KASSERT(mutex_owned(amap->am_lock));
 
        if (anonlst == NULL) {



Home | Main Index | Thread Index | Old Index