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/softraid.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/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 7065bd9fa83..dc2a910db30 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.344 2014/11/18 02:37:30 tedu Exp $ */ +/* $OpenBSD: softraid.c,v 1.345 2014/12/16 18:30:03 tedu Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -42,6 +42,8 @@ #include <sys/kthread.h> #include <sys/dkio.h> +#include <uvm/uvm_extern.h> + #include <crypto/cryptodev.h> #include <scsi/scsi_all.h> |