Page MenuHomeFreeBSD

linuxkpi: Move `invalidate_mapping_pages()` to <linux/pagemap.h>
ClosedPublic

Authored by dumbbell on Dec 13 2023, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 18, 10:52 AM
Unknown Object (File)
Sep 30 2024, 4:47 AM
Unknown Object (File)
Sep 30 2024, 4:07 AM
Unknown Object (File)
Sep 28 2024, 3:09 AM
Unknown Object (File)
Sep 27 2024, 11:00 AM
Unknown Object (File)
Sep 25 2024, 11:37 AM
Unknown Object (File)
Sep 11 2024, 11:13 AM
Unknown Object (File)
Sep 11 2024, 8:22 AM

Details

Summary

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.

This is part of the update of the DRM drivers to Linux 5.18.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable