Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Count interrupts in uvmexp.
details: https://anonhg.NetBSD.org/src/rev/ca994af03f80
branches: trunk
changeset: 750833:ca994af03f80
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jan 16 07:38:56 2010 +0000
description:
Count interrupts in uvmexp.
diffstat:
sys/arch/hp700/hp700/intr.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9f75d9ee80ee -r ca994af03f80 sys/arch/hp700/hp700/intr.c
--- a/sys/arch/hp700/hp700/intr.c Sat Jan 16 07:37:21 2010 +0000
+++ b/sys/arch/hp700/hp700/intr.c Sat Jan 16 07:38:56 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.19 2009/11/30 16:58:40 skrll Exp $ */
+/* $NetBSD: intr.c,v 1.20 2010/01/16 07:38:56 skrll Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.19 2009/11/30 16:58:40 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.20 2010/01/16 07:38:56 skrll Exp $");
#define __MUTEX_PRIVATE
@@ -514,7 +514,8 @@
cpl = ncpl | int_bit->int_bit_spl;
mtctl(eiem, CR_EIEM);
- /* Dispatch the interrupt. */
+ /* Count and dispatch the interrupt. */
+ uvmexp.intrs++;
handled = (*int_bit->int_bit_handler)(arg);
#if 0
if (!handled)
Home |
Main Index |
Thread Index |
Old Index