to avoid hidden header dependencies.
OK jsg@ deraadt@
-/* $OpenBSD: pmap.h,v 1.59 2015/10/08 10:20:14 kettenis Exp $ */
+/* $OpenBSD: pmap.h,v 1.60 2021/05/30 15:08:08 visa Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
#define PMAP_CACHE_WT 2 /* writethru */
#define PMAP_CACHE_WB 3 /* writeback */
+#include <sys/mutex.h>
+#include <sys/queue.h>
+
#ifdef _KERNEL
/*
#endif /* _KERNEL */
-#include <sys/mutex.h>
-
struct vm_page_md {
struct mutex pv_mtx;
LIST_HEAD(,pte_desc) pv_list;
-/* $OpenBSD: pmap.h,v 1.16 2021/05/11 18:21:12 kettenis Exp $ */
+/* $OpenBSD: pmap.h,v 1.17 2021/05/30 15:08:08 visa Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
#ifndef _MACHINE_PMAP_H_
#define _MACHINE_PMAP_H_
+#include <sys/mutex.h>
+#include <sys/queue.h>
+
#ifdef _KERNEL
#include <machine/pte.h>
#endif /* _KERNEL */
-#include <sys/mutex.h>
-#include <sys/queue.h>
-
struct vm_page_md {
struct mutex pv_mtx;
LIST_HEAD(,pte_desc) pv_list;