Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix some more uvm.h cleanup fallout.



details:   https://anonhg.NetBSD.org/src/rev/37ea3293b4d5
branches:  trunk
changeset: 954560:37ea3293b4d5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Sep 06 15:27:22 2020 +0000

description:
Fix some more uvm.h cleanup fallout.

diffstat:

 sys/dev/bus_dma/bus_dmamem_common.c |  5 +++--
 sys/kern/subr_physmap.c             |  7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 7c61be2c5069 -r 37ea3293b4d5 sys/dev/bus_dma/bus_dmamem_common.c
--- a/sys/dev/bus_dma/bus_dmamem_common.c       Sun Sep 06 14:58:53 2020 +0000
+++ b/sys/dev/bus_dma/bus_dmamem_common.c       Sun Sep 06 15:27:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dmamem_common.c,v 1.3 2020/09/05 16:30:10 riastradh Exp $  */
+/*     $NetBSD: bus_dmamem_common.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dmamem_common.c,v 1.3 2020/09/05 16:30:10 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dmamem_common.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -40,6 +40,7 @@
 #include <sys/bus.h>
 
 #include <uvm/uvm_extern.h>
+#include <uvm/uvm_page.h>
 
 #include <dev/bus_dma/bus_dmamem_common.h>
 
diff -r 7c61be2c5069 -r 37ea3293b4d5 sys/kern/subr_physmap.c
--- a/sys/kern/subr_physmap.c   Sun Sep 06 14:58:53 2020 +0000
+++ b/sys/kern/subr_physmap.c   Sun Sep 06 15:27:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_physmap.c,v 1.3 2020/06/06 23:02:25 ad Exp $      */
+/*     $NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,12 +30,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.3 2020/06/06 23:02:25 ad Exp $");
+__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/physmap.h>
 #include <sys/kmem.h>
 
+#include <uvm/uvm_extern.h>
+#include <uvm/uvm_page.h>
+
 #include <dev/mm.h>
 
 /*



Home | Main Index | Thread Index | Old Index