From owner-svn-src-head@FreeBSD.ORG Sun Aug 5 14:11:43 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4947F106564A; Sun, 5 Aug 2012 14:11:43 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 30D448FC08; Sun, 5 Aug 2012 14:11:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q75EBh0I091342; Sun, 5 Aug 2012 14:11:43 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q75EBg3c091320; Sun, 5 Aug 2012 14:11:42 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201208051411.q75EBg3c091320@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 5 Aug 2012 14:11:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239065 - in head/sys: arm/arm dev/agp dev/md fs/nfsclient fs/nwfs fs/smbfs fs/tmpfs ia64/ia64 kern net nfsclient ofed/include/linux ufs/ffs vm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 05 Aug 2012 14:11:43 -0000 Author: kib Date: Sun Aug 5 14:11:42 2012 New Revision: 239065 URL: http://svn.freebsd.org/changeset/base/239065 Log: After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason to pull vm_param.h was removed. Other big dependency of vm_page.h on vm_param.h are PA_LOCK* definitions, which are only needed for in-kernel code, because modules use KBI-safe functions to lock the pages. Stop including vm_param.h into vm_page.h. Include vm_param.h explicitely for the kernel code which needs it. Suggested and reviewed by: alc MFC after: 2 weeks Modified: head/sys/arm/arm/pmap.c head/sys/dev/agp/agp.c head/sys/dev/agp/agp_i810.c head/sys/dev/md/md.c head/sys/fs/nfsclient/nfs_clbio.c head/sys/fs/nwfs/nwfs_io.c head/sys/fs/smbfs/smbfs_io.c head/sys/fs/tmpfs/tmpfs_subr.c head/sys/fs/tmpfs/tmpfs_vnops.c head/sys/ia64/ia64/pmap.c head/sys/kern/kern_proc.c head/sys/kern/subr_uio.c head/sys/kern/uipc_syscalls.c head/sys/net/bpf_zerocopy.c head/sys/nfsclient/nfs_bio.c head/sys/ofed/include/linux/gfp.h head/sys/ufs/ffs/ffs_vnops.c head/sys/vm/device_pager.c head/sys/vm/sg_pager.c head/sys/vm/vm_page.h head/sys/vm/vnode_pager.c Modified: head/sys/arm/arm/pmap.c ============================================================================== --- head/sys/arm/arm/pmap.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/arm/arm/pmap.c Sun Aug 5 14:11:42 2012 (r239065) @@ -154,6 +154,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include @@ -165,7 +166,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/sys/dev/agp/agp.c ============================================================================== --- head/sys/dev/agp/agp.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/dev/agp/agp.c Sun Aug 5 14:11:42 2012 (r239065) @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/dev/agp/agp_i810.c ============================================================================== --- head/sys/dev/agp/agp_i810.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/dev/agp/agp_i810.c Sun Aug 5 14:11:42 2012 (r239065) @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/dev/md/md.c ============================================================================== --- head/sys/dev/md/md.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/dev/md/md.c Sun Aug 5 14:11:42 2012 (r239065) @@ -84,14 +84,13 @@ #include #include +#include #include #include #include #include #include -#include - #define MD_MODVER 1 #define MD_SHUTDOWN 0x10000 /* Tell worker thread to terminate. */ Modified: head/sys/fs/nfsclient/nfs_clbio.c ============================================================================== --- head/sys/fs/nfsclient/nfs_clbio.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/fs/nfsclient/nfs_clbio.c Sun Aug 5 14:11:42 2012 (r239065) @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/fs/nwfs/nwfs_io.c ============================================================================== --- head/sys/fs/nwfs/nwfs_io.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/fs/nwfs/nwfs_io.c Sun Aug 5 14:11:42 2012 (r239065) @@ -38,6 +38,7 @@ #include #include +#include #include #include #include Modified: head/sys/fs/smbfs/smbfs_io.c ============================================================================== --- head/sys/fs/smbfs/smbfs_io.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/fs/smbfs/smbfs_io.c Sun Aug 5 14:11:42 2012 (r239065) @@ -41,6 +41,7 @@ #include #include +#include #include #include #include Modified: head/sys/fs/tmpfs/tmpfs_subr.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_subr.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/fs/tmpfs/tmpfs_subr.c Sun Aug 5 14:11:42 2012 (r239065) @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Sun Aug 5 14:11:42 2012 (r239065) @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/ia64/ia64/pmap.c ============================================================================== --- head/sys/ia64/ia64/pmap.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/ia64/ia64/pmap.c Sun Aug 5 14:11:42 2012 (r239065) @@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/kern/kern_proc.c ============================================================================== --- head/sys/kern/kern_proc.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/kern/kern_proc.c Sun Aug 5 14:11:42 2012 (r239065) @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #endif #include +#include #include #include #include Modified: head/sys/kern/subr_uio.c ============================================================================== --- head/sys/kern/subr_uio.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/kern/subr_uio.c Sun Aug 5 14:11:42 2012 (r239065) @@ -53,11 +53,11 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include #ifdef ZERO_COPY_SOCKETS -#include #include #endif Modified: head/sys/kern/uipc_syscalls.c ============================================================================== --- head/sys/kern/uipc_syscalls.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/kern/uipc_syscalls.c Sun Aug 5 14:11:42 2012 (r239065) @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/net/bpf_zerocopy.c ============================================================================== --- head/sys/net/bpf_zerocopy.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/net/bpf_zerocopy.c Sun Aug 5 14:11:42 2012 (r239065) @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/nfsclient/nfs_bio.c ============================================================================== --- head/sys/nfsclient/nfs_bio.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/nfsclient/nfs_bio.c Sun Aug 5 14:11:42 2012 (r239065) @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/ofed/include/linux/gfp.h ============================================================================== --- head/sys/ofed/include/linux/gfp.h Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/ofed/include/linux/gfp.h Sun Aug 5 14:11:42 2012 (r239065) @@ -34,6 +34,7 @@ #include +#include #include #include #include Modified: head/sys/ufs/ffs/ffs_vnops.c ============================================================================== --- head/sys/ufs/ffs/ffs_vnops.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/ufs/ffs/ffs_vnops.c Sun Aug 5 14:11:42 2012 (r239065) @@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/vm/device_pager.c ============================================================================== --- head/sys/vm/device_pager.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/vm/device_pager.c Sun Aug 5 14:11:42 2012 (r239065) @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include Modified: head/sys/vm/sg_pager.c ============================================================================== --- head/sys/vm/sg_pager.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/vm/sg_pager.c Sun Aug 5 14:11:42 2012 (r239065) @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include Modified: head/sys/vm/vm_page.h ============================================================================== --- head/sys/vm/vm_page.h Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/vm/vm_page.h Sun Aug 5 14:11:42 2012 (r239065) @@ -284,8 +284,6 @@ extern struct vpglocks pa_lock[]; #include -#include - #include /* Modified: head/sys/vm/vnode_pager.c ============================================================================== --- head/sys/vm/vnode_pager.c Sun Aug 5 14:11:07 2012 (r239064) +++ head/sys/vm/vnode_pager.c Sun Aug 5 14:11:42 2012 (r239065) @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include