Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm explicitely include sys/atomic.h for atomic operations.



details:   https://anonhg.NetBSD.org/src/rev/95a6b38b70d1
branches:  trunk
changeset: 1006058:95a6b38b70d1
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed Jan 01 01:18:34 2020 +0000

description:
explicitely include sys/atomic.h for atomic operations.

diffstat:

 sys/uvm/uvm_pdpolicy_clock.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r f42ba89c45f0 -r 95a6b38b70d1 sys/uvm/uvm_pdpolicy_clock.c
--- a/sys/uvm/uvm_pdpolicy_clock.c      Wed Jan 01 00:38:30 2020 +0000
+++ b/sys/uvm/uvm_pdpolicy_clock.c      Wed Jan 01 01:18:34 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pdpolicy_clock.c,v 1.28 2019/12/31 22:42:51 ad Exp $       */
+/*     $NetBSD: uvm_pdpolicy_clock.c,v 1.29 2020/01/01 01:18:34 mlelstv Exp $  */
 /*     NetBSD: uvm_pdaemon.c,v 1.72 2006/01/05 10:47:33 yamt Exp $     */
 
 /*-
@@ -98,13 +98,14 @@
 #else /* defined(PDSIM) */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clock.c,v 1.28 2019/12/31 22:42:51 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clock.c,v 1.29 2020/01/01 01:18:34 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/kmem.h>
+#include <sys/atomic.h>
 
 #include <uvm/uvm.h>
 #include <uvm/uvm_pdpolicy.h>



Home | Main Index | Thread Index | Old Index