Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Pull in sys/atomic.h.



details:   https://anonhg.NetBSD.org/src/rev/52203b7eee5f
branches:  trunk
changeset: 465474:52203b7eee5f
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Nov 23 22:35:08 2019 +0000

description:
Pull in sys/atomic.h.

diffstat:

 sys/kern/kern_runq.c  |  5 +++--
 sys/kern/sched_4bsd.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 1c63f803f17a -r 52203b7eee5f sys/kern/kern_runq.c
--- a/sys/kern/kern_runq.c      Sat Nov 23 21:40:57 2019 +0000
+++ b/sys/kern/kern_runq.c      Sat Nov 23 22:35:08 2019 +0000
@@ -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 @@
 #include <sys/systm.h>
 #include <sys/types.h>
 #include <sys/evcnt.h>
+#include <sys/atomic.h>
 
 /*
  * Priority related definitions.
diff -r 1c63f803f17a -r 52203b7eee5f sys/kern/sched_4bsd.c
--- a/sys/kern/sched_4bsd.c     Sat Nov 23 21:40:57 2019 +0000
+++ b/sys/kern/sched_4bsd.c     Sat Nov 23 22:35:08 2019 +0000
@@ -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 @@
 #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 *);



Home | Main Index | Thread Index | Old Index