Date: Sat, 29 Mar 2025 15:25:00 GMT From: =?utf-8?Q?Jean-S=C3=A9bastien?= =?utf-8?Q?P=C3=A9dron?= <dumbbell@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f33989797374 - main - linuxkpi: Define `MAX_PAGE_ORDER` and `NR_PAGE_ORDERS` Message-ID: <202503291525.52TFP0Ua004672@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=f33989797374d135b64da59e0ef533ac69d0a5b7 commit f33989797374d135b64da59e0ef533ac69d0a5b7 Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> AuthorDate: 2025-03-03 20:56:42 +0000 Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> CommitDate: 2025-03-29 15:18:21 +0000 linuxkpi: Define `MAX_PAGE_ORDER` and `NR_PAGE_ORDERS` The TTM component of the DRM drivers started to use the latter in Linux 6.8. Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49387 --- sys/compat/linuxkpi/common/include/linux/mmzone.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/mmzone.h b/sys/compat/linuxkpi/common/include/linux/mmzone.h index 9fd481e18ee4..57d3dcac9597 100644 --- a/sys/compat/linuxkpi/common/include/linux/mmzone.h +++ b/sys/compat/linuxkpi/common/include/linux/mmzone.h @@ -9,4 +9,7 @@ #define MAX_ORDER 11 +#define MAX_PAGE_ORDER 10 +#define NR_PAGE_ORDERS (MAX_PAGE_ORDER + 1) + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503291525.52TFP0Ua004672>