Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/mace shorten the interrupt name so the leve...



details:   https://anonhg.NetBSD.org/src/rev/ddc9214859dc
branches:  trunk
changeset: 339152:ddc9214859dc
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Jun 30 03:55:23 2015 +0000

description:
shorten the interrupt name so the level field is actually readable in systat

diffstat:

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

diffs (27 lines):

diff -r 56f9c0104b8f -r ddc9214859dc sys/arch/sgimips/mace/mace.c
--- a/sys/arch/sgimips/mace/mace.c      Tue Jun 30 03:52:54 2015 +0000
+++ b/sys/arch/sgimips/mace/mace.c      Tue Jun 30 03:55:23 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mace.c,v 1.21 2015/02/18 16:47:59 macallan Exp $       */
+/*     $NetBSD: mace.c,v 1.22 2015/06/30 03:55:23 macallan Exp $       */
 
 /*
  * Copyright (c) 2003 Christopher Sekiya
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.21 2015/02/18 16:47:59 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.22 2015/06/30 03:55:23 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -261,7 +261,7 @@
                        maceintrtab[i].intrmask = level;
                        snprintf(maceintrtab[i].evname,
                            sizeof(maceintrtab[i].evname),
-                           "intr %d level 0x%x", intr, level);
+                           "intr %d lv 0x%x", intr, level);
                        evcnt_attach_dynamic(&maceintrtab[i].evcnt,
                            EVCNT_TYPE_INTR, NULL,
                            "mace", maceintrtab[i].evname);



Home | Main Index | Thread Index | Old Index