Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Spell uvm_fault_lower_neighbor correctly in UVMHIST_...



details:   https://anonhg.NetBSD.org/src/rev/6ef64d99bbbb
branches:  trunk
changeset: 761924:6ef64d99bbbb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Feb 10 21:05:52 2011 +0000

description:
Spell uvm_fault_lower_neighbor correctly in UVMHIST_FUNC by using
__func__

diffstat:

 sys/uvm/uvm_fault.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8522594962d0 -r 6ef64d99bbbb sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Thu Feb 10 21:00:42 2011 +0000
+++ b/sys/uvm/uvm_fault.c       Thu Feb 10 21:05:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.181 2011/02/02 15:13:34 chuck Exp $    */
+/*     $NetBSD: uvm_fault.c,v 1.182 2011/02/10 21:05:52 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.181 2011/02/02 15:13:34 chuck Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.182 2011/02/10 21:05:52 skrll Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1754,7 +1754,7 @@
        struct uvm_faultinfo *ufi, const struct uvm_faultctx *flt,
        vaddr_t currva, struct vm_page *pg, bool readonly)
 {
-       UVMHIST_FUNC("uvm_fault_lower_neighor"); UVMHIST_CALLED(maphist);
+       UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
 
        /* locked: maps(read), amap(if there), uobj */
 



Home | Main Index | Thread Index | Old Index