From c8da0207038cedbd9fe884789c9fe1529de63fb3 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 16 Feb 2022 08:01:32 +0000 Subject: [PATCH] unifdef PROC_PC ok guenther@ rob@ --- sys/kern/kern_clock.c | 4 +--- 1 file changed, 1 insertion(+), 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; /* -- 2.20.1