Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2023 22:15:10 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3d47e3bf7b37 - main - linuxkpi: Include <linux/vmalloc.h> from <linux/pagemap.h>
Message-ID:  <202301252215.30PMFAH4064351@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=3d47e3bf7b3725482d6ae01675db097a6de020b6

commit 3d47e3bf7b3725482d6ae01675db097a6de020b6
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-01-25 21:50:52 +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
---
 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301252215.30PMFAH4064351>