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)
Sat, Dec 7, 6:16 PM
Unknown Object (File)
Fri, Nov 22, 6:44 AM
Unknown Object (File)
Nov 17 2024, 3:03 PM
Unknown Object (File)
Nov 16 2024, 4:49 PM
Unknown Object (File)
Nov 16 2024, 4:27 PM
Unknown Object (File)
Nov 16 2024, 2:47 PM
Unknown Object (File)
Oct 18 2024, 10:52 AM
Unknown Object (File)
Sep 30 2024, 4:47 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