summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-16 08:01:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-16 08:01:33 +0000
commit0a84d74cd6ed0bc38c1432eaabb537ae5577ff6e (patch)
tree0174154192708a013d81fb2c4e91f6d19ba4cb93
parent996661122e596a71d5c609a19c2fcba07d1d292d (diff)
unifdef PROC_PC
ok guenther@ rob@
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 0230bd8fc6b..b45675c82a0 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_clock.c,v 1.102 2021/01/13 16:28:49 cheloha Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.103 2022/02/16 08:01:32 jsg Exp $ */
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@ -357,10 +357,8 @@ statclock(struct clockframe *frame)
}
}
#endif
-#if defined(PROC_PC)
if (p != NULL && p->p_p->ps_flags & PS_PROFIL)
addupc_intr(p, PROC_PC(p));
-#endif
if (--spc->spc_pscnt > 0)
return;
/*