diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2024-01-11 15:24:22 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-21 16:00:03 -0800 |
commit | f2d571b0b207087442d1c3fca5189ee1cb34648e (patch) | |
tree | ea86469da7bbaad407f8afc15a7cd6c44a151281 /include/linux/fpga/fpga-mgr.h | |
parent | 7101422464ecbca75540feab65b465dee3283438 (diff) |
mprotect: use pfn_swap_entry_folio
We only want to know whether the folio is anonymous, so use
pfn_swap_entry_folio() and save a call to compound_head().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Kefeng Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions