summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2009-06-02 23:48:08 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2009-06-02 23:48:08 +0000
commitd44b2ab5bf52fd38bb8d57507555b45742cb2e28 (patch)
tree83b0878436fb91d1fd6739cee4a96b1971980006 /sys/arch/socppc
parent020d96350364dc054c1648b95e02a384549c6535 (diff)
Somehow this change didn't get committed with the rest of the powepc interrupt
fixes. Required to be changed at the same time.
Diffstat (limited to 'sys/arch/socppc')
-rw-r--r--sys/arch/socppc/socppc/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/socppc/clock.c b/sys/arch/socppc/socppc/clock.c
index e78e9dd2815..bed58fc8ed6 100644
--- a/sys/arch/socppc/socppc/clock.c
+++ b/sys/arch/socppc/socppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.3 2008/12/06 20:05:08 maja Exp $ */
+/* $OpenBSD: clock.c,v 1.4 2009/06/02 23:48:07 drahn Exp $ */
/* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */
/*
@@ -202,7 +202,7 @@ decr_intr(struct clockframe *frame)
*/
ppc_mtdec(nextevent - tb);
- if (curcpu()->ci_cpl & SPL_CLOCK) {
+ if (ci->ci_cpl >= IPL_CLOCK) {
ci->ci_statspending += nstats;
} else {
KERNEL_LOCK();