diff options
author | 2009-06-01 22:28:30 +0000 | |
---|---|---|
committer | 2009-06-01 22:28:30 +0000 | |
commit | 9467f4fa0af327f362341de366b6fca3920f45d1 (patch) | |
tree | 28c4df29f8f2bdfe937ee3ffb93e3c1fb7123445 | |
parent | Split getpw{nam,uid} off into their own man page. Hopefully, this (diff) | |
download | wireguard-openbsd-9467f4fa0af327f362341de366b6fca3920f45d1.tar.xz wireguard-openbsd-9467f4fa0af327f362341de366b6fca3920f45d1.zip |
no point in calling curcpu() when ci is already set. ok miod@
-rw-r--r-- | sys/arch/macppc/macppc/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/clock.c b/sys/arch/macppc/macppc/clock.c index 8a7bfb72d8d..353b5427111 100644 --- a/sys/arch/macppc/macppc/clock.c +++ b/sys/arch/macppc/macppc/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.25 2008/11/21 17:35:52 deraadt Exp $ */ +/* $OpenBSD: clock.c,v 1.26 2009/06/01 22:28:30 drahn Exp $ */ /* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */ /* @@ -225,7 +225,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(); |