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/fff3093e9bc6
branches: trunk
changeset: 1005240:fff3093e9bc6
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 1441a3409a70 -r fff3093e9bc6 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