Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5/sh5 Need to bump uvmexp.intrs when taking a h/w...



details:   https://anonhg.NetBSD.org/src/rev/cb353143cec2
branches:  trunk
changeset: 545992:cb353143cec2
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Apr 18 19:57:11 2003 +0000

description:
Need to bump uvmexp.intrs when taking a h/w interrupt.

diffstat:

 sys/arch/sh5/sh5/interrupt.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ec27f0dbe0d8 -r cb353143cec2 sys/arch/sh5/sh5/interrupt.c
--- a/sys/arch/sh5/sh5/interrupt.c      Fri Apr 18 19:14:39 2003 +0000
+++ b/sys/arch/sh5/sh5/interrupt.c      Fri Apr 18 19:57:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.6 2002/10/14 14:19:28 scw Exp $        */
+/*     $NetBSD: interrupt.c,v 1.7 2003/04/18 19:57:11 scw Exp $        */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -247,6 +247,7 @@
 
        _sh5_intr_events[ih->ih_level].ev_count++;
        intrcnt[ih->ih_level]++;
+       uvmexp.intrs++;
 
        if ((ih->ih_func)(ih->ih_arg ? ih->ih_arg : (void *)fr))
                return;



Home | Main Index | Thread Index | Old Index