summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-18 03:29:21 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-18 03:29:21 +0000
commit24a2d0d38a12f26a12614b9b34595f50caae4c56 (patch)
tree086260d543b006e4719b07a2e6ca46538dc4a82c /sys/sys/vnode.h
parent8eb2262ed1323f9cf5467f11ae66cd725f90e203 (diff)
downloadFreeBSD-src-24a2d0d38a12f26a12614b9b34595f50caae4c56.zip
FreeBSD-src-24a2d0d38a12f26a12614b9b34595f50caae4c56.tar.gz
Added includes of smp.h for SMP.
This eliminates a bazillion warnings about implicit s_lock & friends.
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index e308f8f..4d1b362 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.43 1997/04/04 17:43:32 dfr Exp $
+ * $Id: vnode.h,v 1.44 1997/05/04 09:17:38 phk Exp $
*/
#ifndef _SYS_VNODE_H_
@@ -40,6 +40,10 @@
#include <sys/lock.h>
#include <sys/queue.h>
+#ifdef SMP
+#include <machine/smp.h>
+#endif
+
/*
* The vnode is the focus of all file activity in UNIX. There is a
* unique vnode allocated for each active file, each current directory,
OpenPOWER on IntegriCloud