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 don't bother whining about bogusintr on...
details: https://anonhg.NetBSD.org/src/rev/af816bb30da8
branches: trunk
changeset: 778771:af816bb30da8
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Apr 13 06:26:04 2012 +0000
description:
don't bother whining about bogusintr on zs.
diffstat:
sys/arch/sparc/sparc/intr.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 69c38b32f678 -r af816bb30da8 sys/arch/sparc/sparc/intr.c
--- a/sys/arch/sparc/sparc/intr.c Fri Apr 13 06:12:32 2012 +0000
+++ b/sys/arch/sparc/sparc/intr.c Fri Apr 13 06:26:04 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.115 2011/05/23 18:40:30 rmind Exp $ */
+/* $NetBSD: intr.c,v 1.116 2012/04/13 06:26:04 mrg Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.115 2011/05/23 18:40:30 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.116 2012/04/13 06:26:04 mrg Exp $");
#include "opt_multiprocessor.h"
#include "opt_sparc_arch.h"
@@ -131,6 +131,14 @@
{
char bits[64];
+#if defined(MULTIPROCESSOR)
+ /*
+ * XXX as above.
+ */
+ if (fp->ipl == ZS_INTR_IPL)
+ return;
+#endif
+
snprintb(bits, sizeof(bits), PSR_BITS, fp->psr);
printf("cpu%d: bogus interrupt ipl 0x%x pc=0x%x npc=0x%x psr=%s\n",
cpu_number(), fp->ipl, fp->pc, fp->npc, bits);
Home |
Main Index |
Thread Index |
Old Index