summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/macintr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2007-03-01 15:00:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2007-03-01 15:00:58 +0000
commitb733257b88a91c6c9611e87c72830a62277283bf (patch)
tree5de007db97b8f6e4cfd94aa59919cf8a3360276e /sys/arch/macppc/dev/macintr.c
parentf812617893843af16cf18a7960020682a82db069 (diff)
proper softint treatment (that get missed otherwise); found and tested by mpf@ on pppoe; drahn@ ok
Diffstat (limited to 'sys/arch/macppc/dev/macintr.c')
-rw-r--r--sys/arch/macppc/dev/macintr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c
index 322c8c11d05..0d3848b5dde 100644
--- a/sys/arch/macppc/dev/macintr.c
+++ b/sys/arch/macppc/dev/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.30 2006/03/12 02:49:50 brad Exp $ */
+/* $OpenBSD: macintr.c,v 1.31 2007/03/01 15:00:57 mickey Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -589,7 +589,7 @@ mac_intr_do_pending_int()
ipending &= ~SINT_TTY;
softtty();
}
- } while (ipending & (SINT_NET|SINT_CLOCK|SINT_TTY) & ~cpl);
+ } while (ipending & (SINT_NET|SINT_CLOCK|SINT_TTY) & ~pcpl);
ipending &= pcpl;
cpl = pcpl; /* Don't use splx... we are here already! */
ppc_intr_enable(s);