diff options
author | tedu <tedu@openbsd.org> | 2014-12-16 18:30:03 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2014-12-16 18:30:03 +0000 |
commit | fde894e58bbff915860f72b4c0bd0bc7cb508668 (patch) | |
tree | 87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/tmpfs | |
parent | Protect memory allocation and disposal with splvm(); gets rid of splassert (diff) | |
download | wireguard-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.h | 4 |
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. * |