Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 count IPI's as interrupts, not misc...
details: https://anonhg.NetBSD.org/src/rev/5de0f46e0937
branches: trunk
changeset: 749539:5de0f46e0937
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Dec 02 07:55:01 2009 +0000
description:
count IPI's as interrupts, not misc counters.
diffstat:
sys/arch/sparc64/sparc64/cpu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 7724d418d918 -r 5de0f46e0937 sys/arch/sparc64/sparc64/cpu.c
--- a/sys/arch/sparc64/sparc64/cpu.c Wed Dec 02 07:34:57 2009 +0000
+++ b/sys/arch/sparc64/sparc64/cpu.c Wed Dec 02 07:55:01 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.87 2009/12/01 09:26:36 martin Exp $ */
+/* $NetBSD: cpu.c,v 1.88 2009/12/02 07:55:01 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.87 2009/12/01 09:26:36 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.88 2009/12/02 07:55:01 mrg Exp $");
#include "opt_multiprocessor.h"
@@ -267,10 +267,10 @@
ci->ci_cpcb = lwp_getpcb(ci->ci_data.cpu_idlelwp);
}
for (i = 0; i < IPI_EVCNT_NUM; ++i)
- evcnt_attach_dynamic(&ci->ci_ipi_evcnt[i], EVCNT_TYPE_MISC,
+ evcnt_attach_dynamic(&ci->ci_ipi_evcnt[i], EVCNT_TYPE_INTR,
NULL, device_xname(dev), ipi_evcnt_names[i]);
#endif
- evcnt_attach_dynamic(&ci->ci_tick_evcnt, EVCNT_TYPE_MISC, NULL,
+ evcnt_attach_dynamic(&ci->ci_tick_evcnt, EVCNT_TYPE_INTR, NULL,
device_xname(dev), "timer");
clk = prom_getpropint(node, "clock-frequency", 0);
Home |
Main Index |
Thread Index |
Old Index