git: 16ccda32623a - stable/13 - linuxkpi: Add <linux/mmzone.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 08:53:59 UTC
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=16ccda32623a98cf4a2ab3804b5ae6277c01395e commit 16ccda32623a98cf4a2ab3804b5ae6277c01395e Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> AuthorDate: 2022-11-11 17:39:48 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2023-01-24 09:08:00 +0000 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 (cherry picked from commit c9c1255012de441ec642b7521da4c9fbad40a839) --- sys/compat/linuxkpi/common/include/linux/mmzone.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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