summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_object.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-04-21 03:04:04 +0000
committerderaadt <deraadt@openbsd.org>2010-04-21 03:04:04 +0000
commit94bba482d754bc4ab682e8f82e97b0ee7abbb435 (patch)
tree0a66711d2278a705e1762cbb879e62dafd97f9ec /sys/uvm/uvm_object.c
parentmore cleanup to cope with the change that tries to make proc.h not act (diff)
downloadwireguard-openbsd-94bba482d754bc4ab682e8f82e97b0ee7abbb435.tar.xz
wireguard-openbsd-94bba482d754bc4ab682e8f82e97b0ee7abbb435.zip
the atomic primitives are still impossible to get at without using proc.h
(because it pulls in so much of the world) so include it for now, but mark it XXX ok tedu
Diffstat (limited to 'sys/uvm/uvm_object.c')
-rw-r--r--sys/uvm/uvm_object.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/uvm/uvm_object.c b/sys/uvm/uvm_object.c
index 3c92593581c..fdd931f0afe 100644
--- a/sys/uvm/uvm_object.c
+++ b/sys/uvm/uvm_object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_object.c,v 1.3 2009/11/25 19:19:14 oga Exp $ */
+/* $OpenBSD: uvm_object.c,v 1.4 2010/04/21 03:04:49 deraadt Exp $ */
/*
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -34,9 +34,8 @@
*
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
+#include <sys/proc.h> /* XXX for atomic */
#include <uvm/uvm.h>