summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-02-11 01:14:16 +0000
committerdlg <dlg@openbsd.org>2015-02-11 01:14:16 +0000
commit247cdf313e9cd4621fb34a62323a50e3195693ce (patch)
treefa2c9a4e387489add2d88c4552d394d3c1abaf08
parentConvert to uiomove(). ok kettenis@ (diff)
downloadwireguard-openbsd-247cdf313e9cd4621fb34a62323a50e3195693ce.tar.xz
wireguard-openbsd-247cdf313e9cd4621fb34a62323a50e3195693ce.zip
get the SPINLOCK bits from machine/lock.h
-rw-r--r--sys/arch/alpha/alpha/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 911f06d375d..5cbca525af9 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.168 2015/02/09 08:48:23 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.169 2015/02/11 01:14:16 dlg Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -105,6 +105,9 @@
#ifndef NO_IEEE
#include <machine/ieeefp.h>
#endif
+#ifdef MULTIPROCESSOR
+#include <machine/lock.h>
+#endif
#include <dev/pci/pcivar.h>