diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 7dbdc85ca9a3..a5ab2dd0a513 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -1,4 +1,4 @@ -/* $NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $ */ +/* $NetBSD: sched_4bsd.c,v 1.46 2022/10/26 23:24:09 riastradh Exp $ */ /* * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2019, 2020 @@ -69,7 +69,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.46 2022/10/26 23:24:09 riastradh Exp $"); #include "opt_ddb.h" #include "opt_lockdebug.h" @@ -90,8 +90,6 @@ __KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $ static void updatepri(struct lwp *); static void resetpriority(struct lwp *); -extern unsigned int sched_pstats_ticks; /* defined in kern_synch.c */ - /* Number of hardclock ticks per sched_tick() */ u_int sched_rrticks __read_mostly; diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 06706fad38ee..050b65ab7c84 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -1,4 +1,4 @@ -/* $NetBSD: sched.h,v 1.90 2020/05/23 23:37:17 ad Exp $ */ +/* $NetBSD: sched.h,v 1.91 2022/10/26 23:24:09 riastradh Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2002, 2007, 2008, 2019, 2020 @@ -211,6 +211,7 @@ struct schedstate_percpu { extern int schedhz; /* ideally: 16 */ extern u_int sched_rrticks; +extern u_int sched_pstats_ticks; struct proc; struct cpu_info;