Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2022-11-11 20:39:48 +0300
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2022-11-11 20:39:48 +0300
commitc9c1255012de441ec642b7521da4c9fbad40a839 (patch)
tree6f363b28575459a789fb627f046ffa9bec4040b1
parent1676c97d5de2f367526041cb8f76b1b68074ae34 (diff)
linuxkpi: Add <linux/mmzone.h>
It provides the `MAX_ORDER` constant. Reviewed by: emaste manu Approved by: emaste manu Differential Revision: https://reviews.freebsd.org/D36962
-rw-r--r--sys/compat/linuxkpi/common/include/linux/mmzone.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/mmzone.h b/sys/compat/linuxkpi/common/include/linux/mmzone.h
new file mode 100644
index 000000000000..49cc218c6fce
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/mmzone.h
@@ -0,0 +1,11 @@
+/* Public domain. */
+
+#ifndef _LINUX_MMZONE_H
+#define _LINUX_MMZONE_H
+
+#include <linux/mm_types.h>
+#include <linux/page-flags.h>
+
+#define MAX_ORDER 11
+
+#endif