don't bother whining about bogusintr on zs.
This commit is contained in:
parent
144c5468dc
commit
18f8e19f58
@ -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 @@ bogusintr(struct clockframe *fp)
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user