summaryrefslogtreecommitdiffstats
path: root/sys/dev/diskmap.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
committertedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
commitfde894e58bbff915860f72b4c0bd0bc7cb508668 (patch)
tree87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/dev/diskmap.c
parentProtect memory allocation and disposal with splvm(); gets rid of splassert (diff)
downloadwireguard-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.c3
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>