summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-21 03:04:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-21 03:04:50 +0000
commitabe6e52f43fbc5477449bd0dfabaaf6e4984939d (patch)
tree80f4890fb660058efd9f205d2134cf98f323f2fb /sys
parentca48e4ece50b04c33f4709c41bf96a35905d1f6b (diff)
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')
-rw-r--r--sys/kern/vfs_biomem.c3
-rw-r--r--sys/uvm/uvm_object.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_biomem.c b/sys/kern/vfs_biomem.c
index 9ddf246a917..21e74a75a38 100644
--- a/sys/kern/vfs_biomem.c
+++ b/sys/kern/vfs_biomem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_biomem.c,v 1.12 2009/08/09 17:45:02 art Exp $ */
+/* $OpenBSD: vfs_biomem.c,v 1.13 2010/04/21 03:04:04 deraadt Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
*
@@ -20,6 +20,7 @@
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/pool.h>
+#include <sys/proc.h> /* XXX for atomic */
#include <sys/mount.h>
#include <uvm/uvm_extern.h>
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>