Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/2e452a5009ab
branches:  trunk
changeset: 1008219:2e452a5009ab
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Mar 15 11:17:22 2020 +0000

description:
Fix build with UVMHIST.

diffstat:

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

diffs (26 lines):

diff -r 603078c48429 -r 2e452a5009ab sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Sun Mar 15 10:15:16 2020 +0000
+++ b/sys/uvm/uvm_page.c        Sun Mar 15 11:17:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.232 2020/03/14 21:06:35 ad Exp $        */
+/*     $NetBSD: uvm_page.c,v 1.233 2020/03/15 11:17:22 rin Exp $       */
 
 /*-
  * Copyright (c) 2019, 2020 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.232 2020/03/14 21:06:35 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.233 2020/03/15 11:17:22 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvm.h"
@@ -1749,6 +1749,7 @@
 void
 uvm_pageunbusy(struct vm_page *pg)
 {
+       UVMHIST_FUNC("uvm_pageunbusy"); UVMHIST_CALLED(ubchist);
 
        KASSERT((pg->flags & PG_BUSY) != 0);
        KASSERT(uvm_page_owner_locked_p(pg, true));



Home | Main Index | Thread Index | Old Index