git: kernel: Remove <sys/sysref{, 2}.h> inclusion from files that don't need it.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Oct 17 13:19:33 PDT 2017


commit 22b7a3dbf6551c308d235ec4c6c793098ee0a61e
Author: Sascha Wildner <saw at online.de>
Date:   Tue Oct 17 22:18:35 2017 +0200

    kernel: Remove <sys/sysref{,2}.h> inclusion from files that don't need it.
    
    Some of the headers are public in one way or another so bump
    __DragonFly_version for safety.
    
    While here, add a missing <sys/objcache.h> include to kern_exec.c which
    was previously relying on it coming in via <sys/sysref.h> (which was
    included by <sys/vm_map.h> prior to this commit).

Summary of changes:
 sys/kern/imgact_resident.c             | 2 --
 sys/kern/init_main.c                   | 1 -
 sys/kern/kern_exec.c                   | 1 +
 sys/kern/kern_exit.c                   | 1 -
 sys/kern/kern_kinfo.c                  | 2 --
 sys/kern/vfs_aio.c                     | 1 -
 sys/kern/vfs_cache.c                   | 1 -
 sys/kern/vfs_mount.c                   | 1 -
 sys/kern/vfs_subr.c                    | 1 -
 sys/kern/vfs_vm.c                      | 1 -
 sys/platform/pc64/x86_64/pmap.c        | 1 -
 sys/platform/vkernel64/platform/pmap.c | 1 -
 sys/sys/param.h                        | 3 ++-
 sys/sys/vnode.h                        | 3 ---
 sys/vfs/devfs/devfs_vnops.c            | 1 -
 sys/vfs/dirfs/dirfs_vfsops.c           | 1 -
 sys/vfs/procfs/procfs_mem.c            | 2 --
 sys/vm/vm_glue.c                       | 1 -
 sys/vm/vm_map.h                        | 3 ---
 sys/vm/vm_vmspace.c                    | 2 --
 20 files changed, 3 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22b7a3dbf6551c308d235ec4c6c793098ee0a61e


-- 
DragonFly BSD source repository



More information about the Commits mailing list