summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2008-12-06 20:05:09 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2008-12-06 20:05:09 +0000
commit7bbf3f872e06f3685e99594c01cca2a38f97cfca (patch)
tree93b97f85618c951128010e92d688fd0180d4b65b
parent44ef19d8849007ab9caf37726901a117b212856c (diff)
Revert this to, due to the ppc intr backout. -moj ok @kettenis
-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 4b97347ecbb..e78e9dd2815 100644
--- a/sys/arch/socppc/socppc/clock.c
+++ b/sys/arch/socppc/socppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.2 2008/10/12 11:51:08 kettenis Exp $ */
+/* $OpenBSD: clock.c,v 1.3 2008/12/06 20:05:08 maja 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 (ci->ci_cpl >= IPL_CLOCK) {
+ if (curcpu()->ci_cpl & SPL_CLOCK) {
ci->ci_statspending += nstats;
} else {
KERNEL_LOCK();