diff options
author | 2014-12-16 18:30:03 +0000 | |
---|---|---|
committer | 2014-12-16 18:30:03 +0000 | |
commit | fde894e58bbff915860f72b4c0bd0bc7cb508668 (patch) | |
tree | 87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/kern/tty.c | |
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/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index ff0bd0ff113..1dfa07edcd3 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.117 2014/12/10 02:44:47 tedu Exp $ */ +/* $OpenBSD: tty.c,v 1.118 2014/12/16 18:30:04 tedu Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -60,6 +60,8 @@ #include <sys/namei.h> +#include <uvm/uvm_extern.h> + #include <dev/rndvar.h> #include "pty.h" |