git: 86e2e1c9e8c3 - stable/13 - linuxkpi: Include <linux/vmalloc.h> from <linux/pagemap.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Feb 2023 11:55:58 UTC
The branch stable/13 has been updated by dumbbell (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=86e2e1c9e8c3ab3b4eb76eb0c5914fffcdfef5b0
commit 86e2e1c9e8c3ab3b4eb76eb0c5914fffcdfef5b0
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-20 17:51:40 +0000
Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-02-16 11:55:14 +0000
linuxkpi: Include <linux/vmalloc.h> from <linux/pagemap.h>
I'm not sure this is correct, but it gives access to the definition of
`PAGE_KERNEL` in `ttm_tt.c` in the DRM drivers.
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38154
(cherry picked from commit 3d47e3bf7b3725482d6ae01675db097a6de020b6)
---
sys/compat/linuxkpi/common/include/linux/pagemap.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/pagemap.h b/sys/compat/linuxkpi/common/include/linux/pagemap.h
index f3c8c04aa13e..81b799f0e019 100644
--- a/sys/compat/linuxkpi/common/include/linux/pagemap.h
+++ b/sys/compat/linuxkpi/common/include/linux/pagemap.h
@@ -33,6 +33,7 @@
#include <linux/mm.h>
#include <linux/highmem.h>
+#include <linux/vmalloc.h>
static inline void
release_pages(struct page **pages, int nr)