Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc "save fp ipi" is an interrupt type coun...



details:   https://anonhg.NetBSD.org/src/rev/e3945bbf6ecf
branches:  trunk
changeset: 829466:e3945bbf6ecf
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Feb 01 22:58:44 2018 +0000

description:
"save fp ipi" is an interrupt type counter, mark it so.

diffstat:

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

diffs (27 lines):

diff -r 9f99ebd99999 -r e3945bbf6ecf sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c        Thu Feb 01 21:47:07 2018 +0000
+++ b/sys/arch/sparc/sparc/cpu.c        Thu Feb 01 22:58:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.252 2018/01/17 07:38:20 mrg Exp $ */
+/*     $NetBSD: cpu.c,v 1.253 2018/02/01 22:58:44 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.252 2018/01/17 07:38:20 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.253 2018/02/01 22:58:44 mrg Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_lockdebug.h"
@@ -363,7 +363,7 @@
         * The "savefp null" counter should go away when the NULL
         * struct fpstate * bug is fixed.
         */
-       evcnt_attach_dynamic(&cpi->ci_savefpstate, EVCNT_TYPE_MISC,
+       evcnt_attach_dynamic(&cpi->ci_savefpstate, EVCNT_TYPE_INTR,
                             NULL, cpu_name(cpi), "savefp ipi");
        evcnt_attach_dynamic(&cpi->ci_savefpstate_null, EVCNT_TYPE_MISC,
                             NULL, cpu_name(cpi), "savefp null ipi");



Home | Main Index | Thread Index | Old Index