aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-06-19 14:58:35 +0000
committerBruce Evans <bde@FreeBSD.org>2004-06-19 14:58:35 +0000
commit7a637a637ea984cf69aab47bc78381b4f3d53c42 (patch)
tree5494ae34894ffbeeceed7989600bff0b5fed8a56 /sys/amd64
parent68ba7a1d573415e20579a52ca77534d567d033c0 (diff)
downloadsrc-7a637a637ea984cf69aab47bc78381b4f3d53c42.tar.gz
src-7a637a637ea984cf69aab47bc78381b4f3d53c42.zip
Include <sys/_lock.h>'s prerequisite <sys/queue.h> before including the
former, not after. Don't hide this bug by including <sys/queue.h> in <sys/_lock.h>.
Notes
Notes: svn path=/head/; revision=130731
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 9a9386dfbe31..b3f42cccf38c 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -129,9 +129,9 @@
#ifndef LOCORE
+#include <sys/queue.h>
#include <sys/_lock.h>
#include <sys/_mutex.h>
-#include <sys/queue.h>
typedef u_int64_t pd_entry_t;
typedef u_int64_t pt_entry_t;