diff options
author | Mark Murray <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
commit | fb919e4d5a2c1baca52ac70d1064f140fffdda71 (patch) | |
tree | 62c0461c4eb61081648eebf963146193ebdc7398 /sys/kern/link_elf_obj.c | |
parent | 8904de15a20f7c5372ec763d2b637b0997485466 (diff) | |
download | src-fb919e4d5a2c1baca52ac70d1064f140fffdda71.tar.gz src-fb919e4d5a2c1baca52ac70d1064f140fffdda71.zip |
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
Notes
Notes:
svn path=/head/; revision=76166
Diffstat (limited to 'sys/kern/link_elf_obj.c')
-rw-r--r-- | sys/kern/link_elf_obj.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index 8327794e058b..344f163ec343 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -29,19 +29,20 @@ #include "opt_ddb.h" #include <sys/param.h> -#include <sys/kernel.h> #include <sys/systm.h> +#include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/proc.h> #include <sys/namei.h> #include <sys/fcntl.h> #include <sys/vnode.h> #include <sys/linker.h> + #include <machine/elf.h> #include <vm/vm.h> #include <vm/vm_param.h> -#include <sys/lock.h> #ifdef SPARSE_MAPPING #include <vm/vm_object.h> #include <vm/vm_kern.h> @@ -49,6 +50,7 @@ #endif #include <vm/pmap.h> #include <vm/vm_map.h> + #ifdef __AOUT__ #include <nlist.h> #endif |