aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/procfs/procfs_mem.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-05-01 08:13:21 +0000
committerMark Murray <markm@FreeBSD.org>2001-05-01 08:13:21 +0000
commitfb919e4d5a2c1baca52ac70d1064f140fffdda71 (patch)
tree62c0461c4eb61081648eebf963146193ebdc7398 /sys/fs/procfs/procfs_mem.c
parent8904de15a20f7c5372ec763d2b637b0997485466 (diff)
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/fs/procfs/procfs_mem.c')
-rw-r--r--sys/fs/procfs/procfs_mem.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index 6f2c8cbb88e7..3a2f8d2e7932 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -47,20 +47,22 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/lock.h>
#include <sys/proc.h>
+#include <sys/ptrace.h>
+#include <sys/user.h>
#include <sys/vnode.h>
+
#include <miscfs/procfs/procfs.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
-#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_extern.h>
#include <vm/vm_map.h>
#include <vm/vm_kern.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
-#include <sys/user.h>
-#include <sys/ptrace.h>
static int procfs_rwmem __P((struct proc *curp,
struct proc *p, struct uio *uio));