diff options
author | 2014-12-17 19:42:15 +0000 | |
---|---|---|
committer | 2014-12-17 19:42:15 +0000 | |
commit | 03d1830d007e3a69f3003837cde28cc1014c0218 (patch) | |
tree | b15a7f83b9fb62057c16070cf597e43b303edc1d /sys/kern/vfs_subr.c | |
parent | unroll loops for sha2. quite a bit faster for amd64. (diff) | |
download | wireguard-openbsd-03d1830d007e3a69f3003837cde28cc1014c0218.tar.xz wireguard-openbsd-03d1830d007e3a69f3003837cde28cc1014c0218.zip |
remove lock.h from uvm_extern.h. another holdover from the simpletonlock
era. fix uvm including c files to include lock.h or atomic.h as necessary.
ok deraadt
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index b2e3bc4b1d0..225e0a89c8e 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.225 2014/12/16 18:30:04 tedu Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.226 2014/12/17 19:42:15 tedu Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -50,6 +50,7 @@ #include <sys/fcntl.h> #include <sys/kernel.h> #include <sys/vnode.h> +#include <sys/lock.h> #include <sys/stat.h> #include <sys/acct.h> #include <sys/namei.h> |