Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Pull in uvm/uvm.h for VM_PAGE_TO_PHYS().



details:   https://anonhg.NetBSD.org/src/rev/e6b22ced7866
branches:  trunk
changeset: 758659:e6b22ced7866
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Nov 12 13:35:51 2010 +0000

description:
Pull in uvm/uvm.h for VM_PAGE_TO_PHYS().

diffstat:

 sys/arch/mips/alchemy/dev/if_aumac.c |  6 +++---
 sys/arch/shark/ofw/ofw.c             |  6 +++---
 sys/arch/vax/include/pmap.h          |  4 +++-
 sys/arch/x86/include/bus_private.h   |  4 ++--
 4 files changed, 11 insertions(+), 9 deletions(-)

diffs (90 lines):

diff -r ca4850dbe9a9 -r e6b22ced7866 sys/arch/mips/alchemy/dev/if_aumac.c
--- a/sys/arch/mips/alchemy/dev/if_aumac.c      Fri Nov 12 13:18:56 2010 +0000
+++ b/sys/arch/mips/alchemy/dev/if_aumac.c      Fri Nov 12 13:35:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aumac.c,v 1.28 2010/04/05 07:19:30 joerg Exp $ */
+/* $NetBSD: if_aumac.c,v 1.29 2010/11/12 13:40:10 uebayasi Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.28 2010/04/05 07:19:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.29 2010/11/12 13:40:10 uebayasi Exp $");
 
 #include "rnd.h"
 
@@ -62,7 +62,7 @@
 #include <sys/device.h>
 #include <sys/queue.h>
 
-#include <uvm/uvm_extern.h>            /* for PAGE_SIZE */
+#include <uvm/uvm.h>           /* for PAGE_SIZE */
 
 #include <net/if.h>
 #include <net/if_dl.h>
diff -r ca4850dbe9a9 -r e6b22ced7866 sys/arch/shark/ofw/ofw.c
--- a/sys/arch/shark/ofw/ofw.c  Fri Nov 12 13:18:56 2010 +0000
+++ b/sys/arch/shark/ofw/ofw.c  Fri Nov 12 13:35:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw.c,v 1.53 2009/12/28 03:22:20 uebayasi Exp $        */
+/*     $NetBSD: ofw.c,v 1.54 2010/11/12 13:40:10 uebayasi Exp $        */
 
 /*
  * Copyright 1997
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw.c,v 1.53 2009/12/28 03:22:20 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw.c,v 1.54 2010/11/12 13:40:10 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -50,7 +50,7 @@
 #include <sys/reboot.h>
 #include <sys/mbuf.h>
 
-#include <uvm/uvm_extern.h>
+#include <uvm/uvm.h>
 
 #include <dev/cons.h>
 
diff -r ca4850dbe9a9 -r e6b22ced7866 sys/arch/vax/include/pmap.h
--- a/sys/arch/vax/include/pmap.h       Fri Nov 12 13:18:56 2010 +0000
+++ b/sys/arch/vax/include/pmap.h       Fri Nov 12 13:35:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.77 2009/10/21 21:12:04 rmind Exp $     */
+/*     $NetBSD: pmap.h,v 1.78 2010/11/12 13:35:51 uebayasi Exp $          */
 
 /* 
  * Copyright (c) 1991 Regents of the University of California.
@@ -83,6 +83,8 @@
 
 #include <sys/simplelock.h>
 
+#include <uvm/uvm_page.h>
+
 #include <machine/pte.h>
 #include <machine/mtpr.h>
 #include <machine/pcb.h>
diff -r ca4850dbe9a9 -r e6b22ced7866 sys/arch/x86/include/bus_private.h
--- a/sys/arch/x86/include/bus_private.h        Fri Nov 12 13:18:56 2010 +0000
+++ b/sys/arch/x86/include/bus_private.h        Fri Nov 12 13:35:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_private.h,v 1.11 2008/04/28 20:23:40 martin Exp $  */
+/*     $NetBSD: bus_private.h,v 1.12 2010/11/12 13:40:11 uebayasi Exp $        */
 /*     NetBSD: bus.h,v 1.8 2005/03/09 19:04:46 matt Exp        */
 
 /*-
@@ -165,7 +165,7 @@
 #endif /* _BUS_PMAP_ENTER */
 
 #if !defined(_BUS_VIRT_TO_BUS)
-#include <uvm/uvm_extern.h>
+#include <uvm/uvm.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))



Home | Main Index | Thread Index | Old Index