summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2016-04-20 05:24:19 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2016-04-20 05:24:19 +0000
commita92b9406516038622fd8908a0b060c490cb66deb (patch)
treed07030e69c4e5a9dd5950153a5e5ef3163656dc3 /sys/arch/alpha
parentfc87f9dfe46a8f1cc01a605c6d2fc9123caefde3 (diff)
Move back #include <sys/mutex.h> outside #ifdef _KERNEL as it was
originally intended in r1.38. (ie more or less revert r1.39) (re-)Fixes at least net/net-snmp, sysutils/gkrellm/gkrellm,-client, sysutils/xuvmstat and sysutils/bubblemon-dockapp on alpha. From miod@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h
index 763a372ec8b..d611156bbc3 100644
--- a/sys/arch/alpha/include/pmap.h
+++ b/sys/arch/alpha/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.39 2016/02/22 07:50:37 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.40 2016/04/20 05:24:18 landry Exp $ */
/* $NetBSD: pmap.h,v 1.37 2000/11/19 03:16:35 thorpej Exp $ */
/*-
@@ -70,12 +70,12 @@
#ifndef _PMAP_MACHINE_
#define _PMAP_MACHINE_
+#include <sys/mutex.h>
#include <machine/pte.h>
#ifdef _KERNEL
#include <sys/queue.h>
-#include <sys/mutex.h>
/*
* Machine-dependent virtual memory state.