Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Increment correct counter.



details:   https://anonhg.NetBSD.org/src/rev/c1e2e93cb1a6
branches:  trunk
changeset: 764268:c1e2e93cb1a6
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 14 16:58:58 2011 +0000

description:
Increment correct counter.

diffstat:

 sys/arch/mips/mips/ipifuncs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 10a922fc767a -r c1e2e93cb1a6 sys/arch/mips/mips/ipifuncs.c
--- a/sys/arch/mips/mips/ipifuncs.c     Thu Apr 14 16:50:05 2011 +0000
+++ b/sys/arch/mips/mips/ipifuncs.c     Thu Apr 14 16:58:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipifuncs.c,v 1.3 2011/02/20 16:38:13 rmind Exp $       */
+/*     $NetBSD: ipifuncs.c,v 1.4 2011/04/14 16:58:58 matt Exp $        */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.3 2011/02/20 16:38:13 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.4 2011/04/14 16:58:58 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -124,7 +124,7 @@
                ipi_shootdown(ci);
        }
        if (ipi_mask & __BIT(IPI_SYNCICACHE)) {
-               ci->ci_evcnt_per_ipi[IPI_NOP].ev_count++;
+               ci->ci_evcnt_per_ipi[IPI_SYNCICACHE].ev_count++;
                ipi_syncicache(ci);
        }
        if (ipi_mask & __BIT(IPI_SUSPEND)) {



Home | Main Index | Thread Index | Old Index