summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-10-13 19:43:35 +0000
committerglebius <glebius@FreeBSD.org>2006-10-13 19:43:35 +0000
commit501eeb3d83fb3d5160f4a03e260e0176d75e5a5c (patch)
tree35562d728544ff0f6510074d8d0f0ef75d8b6018
parent42c2806808b37f39e84a847d293cba20a791dfd6 (diff)
downloadFreeBSD-src-501eeb3d83fb3d5160f4a03e260e0176d75e5a5c.zip
FreeBSD-src-501eeb3d83fb3d5160f4a03e260e0176d75e5a5c.tar.gz
Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE option
and with some code that uses rwlock(9).
-rw-r--r--sys/sys/rwlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/rwlock.h b/sys/sys/rwlock.h
index 4444e36..f5dd53c 100644
--- a/sys/sys/rwlock.h
+++ b/sys/sys/rwlock.h
@@ -36,6 +36,7 @@
#include <sys/_rwlock.h>
#ifdef _KERNEL
+#include <sys/pcpu.h>
#include <machine/atomic.h>
#endif
OpenPOWER on IntegriCloud