Module Name:    src
Committed By:   chs
Date:           Mon Dec  2 20:02:02 UTC 2019

Modified Files:
        src/sys/uvm: uvm_anon.c

Log Message:
fix the build for when UVMHIST is enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/uvm/uvm_anon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_anon.c
diff -u src/sys/uvm/uvm_anon.c:1.67 src/sys/uvm/uvm_anon.c:1.68
--- src/sys/uvm/uvm_anon.c:1.67	Sun Dec  1 23:14:47 2019
+++ src/sys/uvm/uvm_anon.c	Mon Dec  2 20:02:02 2019
@@ -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 @@ uvm_anon_freelst(struct vm_amap *amap, s
 	struct vm_anon **anonp = &anonlst;
 	struct vm_page *pg;
 
+	UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
+
 	KASSERT(mutex_owned(amap->am_lock));
 
 	if (anonlst == NULL) {

Reply via email to