summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-10-12 11:51:09 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-10-12 11:51:09 +0000
commitfa6ade15325e66684a920512ba49a1eaaf9a63e2 (patch)
tree48d82e9e09f5c22928a136a069aeed0d9f5c7115 /sys/arch
parent90d2dbcd03dab92400c863b9aa90c6c5ddcecf9f (diff)
Reduce diff to macppc version.
Diffstat (limited to 'sys/arch')
-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 bb2bcb814a8..4b97347ecbb 100644
--- a/sys/arch/socppc/socppc/clock.c
+++ b/sys/arch/socppc/socppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.1 2008/05/10 12:02:21 kettenis Exp $ */
+/* $OpenBSD: clock.c,v 1.2 2008/10/12 11:51:08 kettenis 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();