Revert previous.

This commit is contained in:
thorpej 1999-12-08 23:54:55 +00:00
parent fd6f6e85b2
commit 8b34a5b689
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: shared_intr.c,v 1.9 1999/12/07 21:36:16 thorpej Exp $ */
/* $NetBSD: shared_intr.c,v 1.10 1999/12/08 23:54:55 thorpej Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@ -33,7 +33,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.9 1999/12/07 21:36:16 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.10 1999/12/08 23:54:55 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -151,8 +151,7 @@ alpha_shared_intr_establish(intr, num, type, level, fn, arg, basename)
break;
case IST_PULSE:
if (type != IST_NONE) {
if (intr[num].intr_q.tqh_first == NULL &&
type != intr[num].intr_sharetype) {
if (intr[num].intr_q.tqh_first == NULL) {
printf("alpha_shared_intr_establish: %s %d: warning: using %s on %s\n",
basename, num, intr_typename(type),
intr_typename(intr[num].intr_sharetype));