summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-17 19:42:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-17 19:42:16 +0000
commite603d661cd7bc55c2978864f19d9bbe6b4ba9299 (patch)
tree04626f337223921bada1aa3d772abbb4f1ee4901 /sys/kern/subr_hibernate.c
parentf767079fc4c95cd1cc568fa1e859f150596b7780 (diff)
remove lock.h from uvm_extern.h. another holdover from the simpletonlock
era. fix uvm including c files to include lock.h or atomic.h as necessary. ok deraadt
Diffstat (limited to 'sys/kern/subr_hibernate.c')
-rw-r--r--sys/kern/subr_hibernate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c
index 16303cd2e55..e689acad7d8 100644
--- a/sys/kern/subr_hibernate.c
+++ b/sys/kern/subr_hibernate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_hibernate.c,v 1.109 2014/11/16 12:31:00 deraadt Exp $ */
+/* $OpenBSD: subr_hibernate.c,v 1.110 2014/12/17 19:42:15 tedu Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
@@ -28,8 +28,11 @@
#include <sys/buf.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
+#include <sys/atomic.h>
+
#include <uvm/uvm.h>
#include <uvm/uvm_swap.h>
+
#include <machine/hibernate.h>
/*