diff options
author | tedu <tedu@openbsd.org> | 2014-12-17 19:42:15 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2014-12-17 19:42:15 +0000 |
commit | 03d1830d007e3a69f3003837cde28cc1014c0218 (patch) | |
tree | b15a7f83b9fb62057c16070cf597e43b303edc1d /sys/tmpfs | |
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/tmpfs')
-rw-r--r-- | sys/tmpfs/tmpfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/tmpfs/tmpfs.h b/sys/tmpfs/tmpfs.h index 8a606a5bc04..5a98ec48894 100644 --- a/sys/tmpfs/tmpfs.h +++ b/sys/tmpfs/tmpfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs.h,v 1.6 2014/12/16 18:30:04 tedu Exp $ */ +/* $OpenBSD: tmpfs.h,v 1.7 2014/12/17 19:42:15 tedu Exp $ */ /* $NetBSD: tmpfs.h,v 1.45 2011/09/27 01:10:43 christos Exp $ */ /* @@ -44,6 +44,7 @@ #include <sys/queue.h> #include <sys/stdint.h> #include <sys/rwlock.h> +#include <sys/lock.h> #include <uvm/uvm_extern.h> |