Source-Changes-HG archive

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

[src/trunk]: src/sys remove some unnecessary includes of internal UVM headers.



details:   https://anonhg.NetBSD.org/src/rev/a878b7687497
branches:  trunk
changeset: 745091:a878b7687497
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Feb 22 19:49:11 2020 +0000

description:
remove some unnecessary includes of internal UVM headers.

diffstat:

 sys/arch/arm/arm/fiq.c             |  6 ++----
 sys/arch/x86/acpi/acpi_wakeup.c    |  5 ++---
 sys/arch/x86/include/bus_private.h |  4 ++--
 sys/dev/audio/audio.c              |  6 +++---
 4 files changed, 9 insertions(+), 12 deletions(-)

diffs (98 lines):

diff -r e8204b433477 -r a878b7687497 sys/arch/arm/arm/fiq.c
--- a/sys/arch/arm/arm/fiq.c    Sat Feb 22 19:46:48 2020 +0000
+++ b/sys/arch/arm/arm/fiq.c    Sat Feb 22 19:49:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fiq.c,v 1.8 2018/01/24 09:04:44 skrll Exp $    */
+/*     $NetBSD: fiq.c,v 1.9 2020/02/22 19:49:11 chs Exp $      */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fiq.c,v 1.8 2018/01/24 09:04:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fiq.c,v 1.9 2020/02/22 19:49:11 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -44,8 +44,6 @@
 #include <arm/cpufunc.h>
 #include <arm/fiq.h>
 
-#include <uvm/uvm.h>
-
 TAILQ_HEAD(, fiqhandler) fiqhandler_stack =
     TAILQ_HEAD_INITIALIZER(fiqhandler_stack);
 
diff -r e8204b433477 -r a878b7687497 sys/arch/x86/acpi/acpi_wakeup.c
--- a/sys/arch/x86/acpi/acpi_wakeup.c   Sat Feb 22 19:46:48 2020 +0000
+++ b/sys/arch/x86/acpi/acpi_wakeup.c   Sat Feb 22 19:49:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_wakeup.c,v 1.51 2019/10/12 06:31:03 maxv Exp $    */
+/*     $NetBSD: acpi_wakeup.c,v 1.52 2020/02/22 19:49:11 chs Exp $     */
 
 /*-
  * Copyright (c) 2002, 2011 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.51 2019/10/12 06:31:03 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.52 2020/02/22 19:49:11 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -70,7 +70,6 @@
 #include <sys/sysctl.h>
 
 #include <uvm/uvm_extern.h>
-#include <uvm/uvm_page.h>
 
 #ifdef __i386__
 #include "opt_mtrr.h"
diff -r e8204b433477 -r a878b7687497 sys/arch/x86/include/bus_private.h
--- a/sys/arch/x86/include/bus_private.h        Sat Feb 22 19:46:48 2020 +0000
+++ b/sys/arch/x86/include/bus_private.h        Sat Feb 22 19:49:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_private.h,v 1.14 2011/09/01 15:10:31 christos Exp $        */
+/*     $NetBSD: bus_private.h,v 1.15 2020/02/22 19:49:11 chs Exp $     */
 /*     NetBSD: bus.h,v 1.8 2005/03/09 19:04:46 matt Exp        */
 
 /*-
@@ -128,7 +128,7 @@
 #endif /* _BUS_PMAP_ENTER */
 
 #if !defined(_BUS_VIRT_TO_BUS)
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
 
 static __inline bus_addr_t _bus_virt_to_bus(struct pmap *, vaddr_t);
 #define        _BUS_VIRT_TO_BUS(pm, va) _bus_virt_to_bus((pm), (va))
diff -r e8204b433477 -r a878b7687497 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Sat Feb 22 19:46:48 2020 +0000
+++ b/sys/dev/audio/audio.c     Sat Feb 22 19:49:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.52 2020/02/22 08:15:09 isaki Exp $ */
+/*     $NetBSD: audio.c,v 1.53 2020/02/22 19:49:11 chs Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -142,7 +142,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.52 2020/02/22 08:15:09 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.53 2020/02/22 19:49:11 chs Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -188,7 +188,7 @@
 
 #include <machine/endian.h>
 
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
 
 #include "ioconf.h"
 



Home | Main Index | Thread Index | Old Index