From owner-svn-src-head@FreeBSD.ORG Fri Nov 16 05:55:57 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69473810; Fri, 16 Nov 2012 05:55:57 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4EF468FC08; Fri, 16 Nov 2012 05:55:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAG5tvbN028040; Fri, 16 Nov 2012 05:55:57 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAG5tuYv028033; Fri, 16 Nov 2012 05:55:56 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201211160555.qAG5tuYv028033@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 16 Nov 2012 05:55:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243132 - in head/sys: amd64/amd64 arm/arm sparc64/sparc64 vm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 05:55:57 -0000 Author: kib Date: Fri Nov 16 05:55:56 2012 New Revision: 243132 URL: http://svnweb.freebsd.org/changeset/base/243132 Log: Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h to vm/vm_phys.h, where it belongs. Requested and reviewed by: alc MFC after: 2 weeks Modified: head/sys/amd64/amd64/minidump_machdep.c head/sys/arm/arm/pmap.c head/sys/sparc64/sparc64/pmap.c head/sys/vm/device_pager.c head/sys/vm/sg_pager.c head/sys/vm/vm_page.h head/sys/vm/vm_phys.h Modified: head/sys/amd64/amd64/minidump_machdep.c ============================================================================== --- head/sys/amd64/amd64/minidump_machdep.c Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/amd64/amd64/minidump_machdep.c Fri Nov 16 05:55:56 2012 (r243132) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include Modified: head/sys/arm/arm/pmap.c ============================================================================== --- head/sys/arm/arm/pmap.c Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/arm/arm/pmap.c Fri Nov 16 05:55:56 2012 (r243132) @@ -165,6 +165,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: head/sys/sparc64/sparc64/pmap.c ============================================================================== --- head/sys/sparc64/sparc64/pmap.c Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/sparc64/sparc64/pmap.c Fri Nov 16 05:55:56 2012 (r243132) @@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: head/sys/vm/device_pager.c ============================================================================== --- head/sys/vm/device_pager.c Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/vm/device_pager.c Fri Nov 16 05:55:56 2012 (r243132) @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include static void dev_pager_init(void); Modified: head/sys/vm/sg_pager.c ============================================================================== --- head/sys/vm/sg_pager.c Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/vm/sg_pager.c Fri Nov 16 05:55:56 2012 (r243132) @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include static vm_object_t sg_pager_alloc(void *, vm_ooffset_t, vm_prot_t, Modified: head/sys/vm/vm_page.h ============================================================================== --- head/sys/vm/vm_page.h Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/vm/vm_page.h Fri Nov 16 05:55:56 2012 (r243132) @@ -324,8 +324,6 @@ extern long first_page; /* first physi #define VM_PAGE_TO_PHYS(entry) ((entry)->phys_addr) -vm_page_t vm_phys_paddr_to_vm_page(vm_paddr_t pa); - vm_page_t PHYS_TO_VM_PAGE(vm_paddr_t pa); /* page allocation classes: */ Modified: head/sys/vm/vm_phys.h ============================================================================== --- head/sys/vm/vm_phys.h Fri Nov 16 05:49:56 2012 (r243131) +++ head/sys/vm/vm_phys.h Fri Nov 16 05:55:56 2012 (r243132) @@ -64,6 +64,7 @@ vm_page_t vm_phys_fictitious_to_vm_page( void vm_phys_free_contig(vm_page_t m, u_long npages); void vm_phys_free_pages(vm_page_t m, int order); void vm_phys_init(void); +vm_page_t vm_phys_paddr_to_vm_page(vm_paddr_t pa); void vm_phys_set_pool(int pool, vm_page_t m, int order); boolean_t vm_phys_unfree_page(vm_page_t m); boolean_t vm_phys_zero_pages_idle(void);