Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Use __func__ in UVMHIST_FUNC
details: https://anonhg.NetBSD.org/src/rev/78494b9fa687
branches: trunk
changeset: 787762:78494b9fa687
user: matt <matt%NetBSD.org@localhost>
date: Tue Jul 02 05:50:53 2013 +0000
description:
Use __func__ in UVMHIST_FUNC
diffstat:
sys/arch/arm/arm32/fault.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r d1ad234ea65b -r 78494b9fa687 sys/arch/arm/arm32/fault.c
--- a/sys/arch/arm/arm32/fault.c Tue Jul 02 02:15:13 2013 +0000
+++ b/sys/arch/arm/arm32/fault.c Tue Jul 02 05:50:53 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fault.c,v 1.88 2013/02/18 05:14:13 matt Exp $ */
+/* $NetBSD: fault.c,v 1.89 2013/07/02 05:50:53 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -81,7 +81,7 @@
#include "opt_kgdb.h"
#include <sys/types.h>
-__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.88 2013/02/18 05:14:13 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.89 2013/07/02 05:50:53 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -227,13 +227,12 @@
int error;
ksiginfo_t ksi;
- UVMHIST_FUNC("data_abort_handler");
+ UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
/* Grab FAR/FSR before enabling interrupts */
far = cpu_faultaddress();
fsr = cpu_faultstatus();
- UVMHIST_CALLED(maphist);
/* Update vmmeter statistics */
ci->ci_data.cpu_ntrap++;
@@ -765,7 +764,7 @@
ksiginfo_t ksi;
int error, user;
- UVMHIST_FUNC("prefetch_abort_handler"); UVMHIST_CALLED(maphist);
+ UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
/* Update vmmeter statistics */
curcpu()->ci_data.cpu_ntrap++;
Home |
Main Index |
Thread Index |
Old Index