diff options
-rw-r--r-- | sys/arch/macppc/dev/macintr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c index 3926a7d248a..278ea9ec990 100644 --- a/sys/arch/macppc/dev/macintr.c +++ b/sys/arch/macppc/dev/macintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macintr.c,v 1.43 2011/08/29 20:21:44 drahn Exp $ */ +/* $OpenBSD: macintr.c,v 1.44 2011/09/16 17:56:52 drahn Exp $ */ /*- * Copyright (c) 2008 Dale Rahn <drahn@openbsd.org> @@ -404,8 +404,9 @@ macintr_calc_mask() if (maxipl == IPL_NONE) { minipl = IPL_NONE; /* Interrupt not enabled */ } else { - for (i = minipl; i <= maxipl; i++) - macintr_pri_share[i] = i; + for (i = minipl; i < maxipl; i++) + macintr_pri_share[i] = + macintr_pri_share[maxipl]; } /* Enable interrupts at lower levels */ |