Module Name: src Committed By: ad Date: Sat Nov 23 22:35:08 UTC 2019
Modified Files: src/sys/kern: kern_runq.c sched_4bsd.c Log Message: Pull in sys/atomic.h. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_runq.c cvs rdiff -u -r1.36 -r1.37 src/sys/kern/sched_4bsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_runq.c diff -u src/sys/kern/kern_runq.c:1.48 src/sys/kern/kern_runq.c:1.49 --- src/sys/kern/kern_runq.c:1.48 Sat Nov 23 19:42:52 2019 +++ src/sys/kern/kern_runq.c Sat Nov 23 22:35:08 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_runq.c,v 1.48 2019/11/23 19:42:52 ad Exp $ */ +/* $NetBSD: kern_runq.c,v 1.49 2019/11/23 22:35:08 ad Exp $ */ /*- * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -56,7 +56,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.48 2019/11/23 19:42:52 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.49 2019/11/23 22:35:08 ad Exp $"); #include "opt_dtrace.h" @@ -76,6 +76,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_runq.c, #include <sys/systm.h> #include <sys/types.h> #include <sys/evcnt.h> +#include <sys/atomic.h> /* * Priority related definitions. Index: src/sys/kern/sched_4bsd.c diff -u src/sys/kern/sched_4bsd.c:1.36 src/sys/kern/sched_4bsd.c:1.37 --- src/sys/kern/sched_4bsd.c:1.36 Sat Nov 23 19:42:52 2019 +++ src/sys/kern/sched_4bsd.c Sat Nov 23 22:35:08 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: sched_4bsd.c,v 1.36 2019/11/23 19:42:52 ad Exp $ */ +/* $NetBSD: sched_4bsd.c,v 1.37 2019/11/23 22:35:08 ad Exp $ */ /* * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2019 @@ -69,7 +69,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.36 2019/11/23 19:42:52 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.37 2019/11/23 22:35:08 ad Exp $"); #include "opt_ddb.h" #include "opt_lockdebug.h" @@ -85,6 +85,7 @@ __KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c #include <sys/sysctl.h> #include <sys/lockdebug.h> #include <sys/intr.h> +#include <sys/atomic.h> static void updatepri(struct lwp *); static void resetpriority(struct lwp *);