diff options
author | 2008-10-12 11:51:08 +0000 | |
---|---|---|
committer | 2008-10-12 11:51:08 +0000 | |
commit | 8243e63cd355d3e18c5c57d2e054ba8f514493e4 (patch) | |
tree | 2e443b6515e478badde62f53f776f7498ffac185 /sys | |
parent | Adjust for redesigned powerpc interrupt architecture. (diff) | |
download | wireguard-openbsd-8243e63cd355d3e18c5c57d2e054ba8f514493e4.tar.xz wireguard-openbsd-8243e63cd355d3e18c5c57d2e054ba8f514493e4.zip |
Reduce diff to macppc version.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/socppc/socppc/clock.c | 4 |
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(); |