kernel: Remove <sys/sysref{,2}.h> inclusion from files that don't need it.
commit22b7a3dbf6551c308d235ec4c6c793098ee0a61e
authorSascha Wildner <saw@online.de>
Tue, 17 Oct 2017 20:18:35 +0000 (17 22:18 +0200)
committerSascha Wildner <saw@online.de>
Tue, 17 Oct 2017 20:18:49 +0000 (17 22:18 +0200)
treeec2c4e7c0347f9cc53066b4d9d44b5bab4803510
parent5f5f337e5630c2f2f29a0c7f5ff7ba8d76b51d1d
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).
20 files changed:
sys/kern/imgact_resident.c
sys/kern/init_main.c
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_kinfo.c
sys/kern/vfs_aio.c
sys/kern/vfs_cache.c
sys/kern/vfs_mount.c
sys/kern/vfs_subr.c
sys/kern/vfs_vm.c
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel64/platform/pmap.c
sys/sys/param.h
sys/sys/vnode.h
sys/vfs/devfs/devfs_vnops.c
sys/vfs/dirfs/dirfs_vfsops.c
sys/vfs/procfs/procfs_mem.c
sys/vm/vm_glue.c
sys/vm/vm_map.h
sys/vm/vm_vmspace.c