Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:55:58 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-branches@FreeBSD.org
Subject:   git: 86e2e1c9e8c3 - stable/13 - linuxkpi: Include <linux/vmalloc.h> from <linux/pagemap.h>
Message-ID:  <202302161155.31GBtwPB055406@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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