diff options
| author | 2014-12-16 18:30:03 +0000 | |
|---|---|---|
| committer | 2014-12-16 18:30:03 +0000 | |
| commit | fde894e58bbff915860f72b4c0bd0bc7cb508668 (patch) | |
| tree | 87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/dev/diskmap.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/dev/diskmap.c')
| -rw-r--r-- | sys/dev/diskmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/diskmap.c b/sys/dev/diskmap.c index 124f28d0e5d..99487560666 100644 --- a/sys/dev/diskmap.c +++ b/sys/dev/diskmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diskmap.c,v 1.8 2014/07/12 18:48:17 tedu Exp $ */ +/* $OpenBSD: diskmap.c,v 1.9 2014/12/16 18:30:03 tedu Exp $ */ /* * Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org> @@ -32,6 +32,7 @@ #include <sys/disklabel.h> #include <sys/file.h> #include <sys/filedesc.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/namei.h> #include <sys/proc.h> |
