Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latter
authorguenther <guenther@openbsd.org>
Wed, 17 Dec 2014 06:58:10 +0000 (06:58 +0000)
committerguenther <guenther@openbsd.org>
Wed, 17 Dec 2014 06:58:10 +0000 (06:58 +0000)
commit15cd87076d7959d8eb2e3456a50f217caec420f8
tree732c5e7373cc0a81ca12e419e2d3066d46f478f3
parent8c58947278bc1d1e98c797605da3509f10fad6ab
Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latter
doesn't have all the values and therefore can't be used everywhere.

ok deraadt@ kettenis@
19 files changed:
sys/arch/sparc/sparc/pmap.c
sys/arch/sparc64/sparc64/pmap.c
sys/arch/vax/vax/pmap.c
sys/dev/isa/aha.c
sys/dev/pci/drm/i915/i915_gem.c
sys/dev/pci/drm/i915/intel_ringbuffer.c
sys/kern/exec_subr.c
sys/kern/init_main.c
sys/kern/kern_exec.c
sys/kern/sysv_shm.c
sys/kern/vfs_biomem.c
sys/sys/mman.h
sys/tmpfs/tmpfs_subr.c
sys/uvm/uvm_fault.c
sys/uvm/uvm_init.c
sys/uvm/uvm_km.c
sys/uvm/uvm_mmap.c
sys/uvm/uvm_object.c
sys/uvm/uvm_unix.c