summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-08-27 09:59:47 +0000
committerbde <bde@FreeBSD.org>2002-08-27 09:59:47 +0000
commit5f882ab3d1c9ea86a8169a097a210856ae8b1056 (patch)
treea64983bdafb8f605271c2967d4521dd41d03c57d /sys/kern/kern_lock.c
parent7d9d298c394fb673e18ae4e695526f89d83b1c4e (diff)
downloadFreeBSD-src-5f882ab3d1c9ea86a8169a097a210856ae8b1056.zip
FreeBSD-src-5f882ab3d1c9ea86a8169a097a210856ae8b1056.tar.gz
Include <sys/lockmgr.h> for the definitions of the locking interfaces that
are implemented here instead of depending on namespace pollution in <sys/lock.h>. Fixed nearby include messes (1 disordered include and 1 unused include).
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 5705f83..71ff425 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -42,12 +42,12 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/lock.h>
-#include <sys/malloc.h>
+#include <sys/lockmgr.h>
#include <sys/mutex.h>
+#include <sys/proc.h>
#include <sys/systm.h>
/*
OpenPOWER on IntegriCloud