Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Add missing #include <sys/atomic.h>



details:   https://anonhg.NetBSD.org/src/rev/304e280fb233
branches:  trunk
changeset: 846813:304e280fb233
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 01 23:14:47 2019 +0000

description:
Add missing #include <sys/atomic.h>

diffstat:

 sys/uvm/uvm_anon.c  |  5 +++--
 sys/uvm/uvm_km.c    |  5 +++--
 sys/uvm/uvm_pager.c |  5 +++--
 sys/uvm/uvm_swap.c  |  5 +++--
 4 files changed, 12 insertions(+), 8 deletions(-)

diffs (104 lines):

diff -r 6db39147adb5 -r 304e280fb233 sys/uvm/uvm_anon.c
--- a/sys/uvm/uvm_anon.c        Sun Dec 01 23:08:09 2019 +0000
+++ b/sys/uvm/uvm_anon.c        Sun Dec 01 23:14:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_anon.c,v 1.66 2019/12/01 17:02:50 ad Exp $ */
+/*     $NetBSD: uvm_anon.c,v 1.67 2019/12/01 23:14:47 uwe Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.66 2019/12/01 17:02:50 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.67 2019/12/01 23:14:47 uwe Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -38,6 +38,7 @@
 #include <sys/systm.h>
 #include <sys/pool.h>
 #include <sys/kernel.h>
+#include <sys/atomic.h>
 
 #include <uvm/uvm.h>
 #include <uvm/uvm_swap.h>
diff -r 6db39147adb5 -r 304e280fb233 sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c  Sun Dec 01 23:08:09 2019 +0000
+++ b/sys/uvm/uvm_km.c  Sun Dec 01 23:14:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_km.c,v 1.149 2019/12/01 14:43:26 ad Exp $  */
+/*     $NetBSD: uvm_km.c,v 1.150 2019/12/01 23:14:47 uwe Exp $ */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -152,7 +152,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.149 2019/12/01 14:43:26 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.150 2019/12/01 23:14:47 uwe Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -177,6 +177,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/atomic.h>
 #include <sys/proc.h>
 #include <sys/pool.h>
 #include <sys/vmem.h>
diff -r 6db39147adb5 -r 304e280fb233 sys/uvm/uvm_pager.c
--- a/sys/uvm/uvm_pager.c       Sun Dec 01 23:08:09 2019 +0000
+++ b/sys/uvm/uvm_pager.c       Sun Dec 01 23:14:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pager.c,v 1.112 2019/12/01 14:40:31 ad Exp $       */
+/*     $NetBSD: uvm_pager.c,v 1.113 2019/12/01 23:14:47 uwe Exp $      */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.112 2019/12/01 14:40:31 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.113 2019/12/01 23:14:47 uwe Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_readahead.h"
@@ -40,6 +40,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/atomic.h>
 #include <sys/vnode.h>
 #include <sys/buf.h>
 
diff -r 6db39147adb5 -r 304e280fb233 sys/uvm/uvm_swap.c
--- a/sys/uvm/uvm_swap.c        Sun Dec 01 23:08:09 2019 +0000
+++ b/sys/uvm/uvm_swap.c        Sun Dec 01 23:14:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_swap.c,v 1.182 2019/12/01 14:40:31 ad Exp $        */
+/*     $NetBSD: uvm_swap.c,v 1.183 2019/12/01 23:14:47 uwe Exp $       */
 
 /*
  * Copyright (c) 1995, 1996, 1997, 2009 Matthew R. Green
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.182 2019/12/01 14:40:31 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.183 2019/12/01 23:14:47 uwe Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_compat_netbsd.h"
@@ -38,6 +38,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/atomic.h>
 #include <sys/buf.h>
 #include <sys/bufq.h>
 #include <sys/conf.h>



Home | Main Index | Thread Index | Old Index