From d44b2ab5bf52fd38bb8d57507555b45742cb2e28 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 2 Jun 2009 23:48:08 +0000 Subject: Somehow this change didn't get committed with the rest of the powepc interrupt fixes. Required to be changed at the same time. --- sys/arch/socppc/socppc/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/socppc') 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(); -- cgit v1.2.3