summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2009-06-02 21:23:55 +0000
committerdrahn <drahn@openbsd.org>2009-06-02 21:23:55 +0000
commit502279173bd47330ae9d6d0ed9bc67d94249adcb (patch)
treeb938e1a019c1d8e9db25b6c1b57259e18d8d0a61
parentAbuse bio layer a little less by marking fake buffers with B_PHYS. (diff)
downloadwireguard-openbsd-502279173bd47330ae9d6d0ed9bc67d94249adcb.tar.xz
wireguard-openbsd-502279173bd47330ae9d6d0ed9bc67d94249adcb.zip
A piece of an upcoming diff was on the same line, revert that portion
of the previous diff so macppc is stable again. found/ok maja@
-rw-r--r--sys/arch/macppc/macppc/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/clock.c b/sys/arch/macppc/macppc/clock.c
index 353b5427111..3ff3e9243cf 100644
--- a/sys/arch/macppc/macppc/clock.c
+++ b/sys/arch/macppc/macppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.26 2009/06/01 22:28:30 drahn Exp $ */
+/* $OpenBSD: clock.c,v 1.27 2009/06/02 21:23:55 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 (ci->ci_cpl >= IPL_CLOCK) {
+ if (ci->ci_cpl & SPL_CLOCK) {
ci->ci_statspending += nstats;
} else {
KERNEL_LOCK();