Home
last modified time | relevance | path

Searched hist:"4 e0d3f7b3c3295e51ded2bab39f36842f405b4eb" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dshmem_fs.hdiff 4e0d3f7b3c3295e51ded2bab39f36842f405b4eb Fri Dec 08 18:07:00 CET 2023 Jean-Sébastien Pédron <dumbbell@FreeBSD.org> linuxkpi: Move `invalidate_mapping_pages()` to <linux/pagemap.h>

[Why]
This is consistent with Linux.

[How]
The definition is moved from <linux/shmem_fs.h> to <linux/pagemap.h> and
the latter is included from the former. This is how it is done on Linux.

Prototypes are also expanded with argument names. I got a build failure
in the DRM 5.18 drivers because the compiler considered that the
`pgoff_t` argument was there twice.

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D43018
H A Dpagemap.hdiff 4e0d3f7b3c3295e51ded2bab39f36842f405b4eb Fri Dec 08 18:07:00 CET 2023 Jean-Sébastien Pédron <dumbbell@FreeBSD.org> linuxkpi: Move `invalidate_mapping_pages()` to <linux/pagemap.h>

[Why]
This is consistent with Linux.

[How]
The definition is moved from <linux/shmem_fs.h> to <linux/pagemap.h> and
the latter is included from the former. This is how it is done on Linux.

Prototypes are also expanded with argument names. I got a build failure
in the DRM 5.18 drivers because the compiler considered that the
`pgoff_t` argument was there twice.

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D43018