summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
committertedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
commitfde894e58bbff915860f72b4c0bd0bc7cb508668 (patch)
tree87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/tmpfs
parentProtect memory allocation and disposal with splvm(); gets rid of splassert (diff)
downloadwireguard-openbsd-fde894e58bbff915860f72b4c0bd0bc7cb508668.tar.xz
wireguard-openbsd-fde894e58bbff915860f72b4c0bd0bc7cb508668.zip
primary change: move uvm_vnode out of vnode, keeping only a pointer.
objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt
Diffstat (limited to 'sys/tmpfs')
-rw-r--r--sys/tmpfs/tmpfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/tmpfs/tmpfs.h b/sys/tmpfs/tmpfs.h
index 54916a238a1..8a606a5bc04 100644
--- a/sys/tmpfs/tmpfs.h
+++ b/sys/tmpfs/tmpfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmpfs.h,v 1.5 2013/12/14 18:01:52 espie Exp $ */
+/* $OpenBSD: tmpfs.h,v 1.6 2014/12/16 18:30:04 tedu Exp $ */
/* $NetBSD: tmpfs.h,v 1.45 2011/09/27 01:10:43 christos Exp $ */
/*
@@ -45,6 +45,8 @@
#include <sys/stdint.h>
#include <sys/rwlock.h>
+#include <uvm/uvm_extern.h>
+
/*
* Internal representation of a tmpfs directory entry.
*