summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-02-11 00:54:40 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-02-11 00:54:40 +0000
commitc96df3efcda175d159697da8a8ca8f6463b2f89a (patch)
treeb7655b2d7116deac4e0dca0ad087a326ec575fdf /sys
parenta2832f7106fa594873651fc13cf6945edd891f66 (diff)
need sys/atomic.h for atomic_{set,clear}bits_int.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/cpu.c b/sys/arch/amd64/amd64/cpu.c
index 6a47542c9e8..3de99fce1de 100644
--- a/sys/arch/amd64/amd64/cpu.c
+++ b/sys/arch/amd64/amd64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.78 2015/01/16 10:17:51 sf Exp $ */
+/* $OpenBSD: cpu.c,v 1.79 2015/02/11 00:54:39 dlg Exp $ */
/* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
@@ -74,6 +74,7 @@
#include <sys/malloc.h>
#include <sys/memrange.h>
#include <dev/rndvar.h>
+#include <sys/atomic.h>
#include <uvm/uvm_extern.h>