aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hugetlb.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-03-26 17:10:28 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:14 -0700
commitb84fd2835c70e0149e2522fd746d3fb7049a1e19 (patch)
treec871a7024d1cea7c88edfbc994bd691d1e6646d5 /include/linux/hugetlb.h
parentmm: make is_free_buddy_page() take a const argument (diff)
downloadlinux-rng-b84fd2835c70e0149e2522fd746d3fb7049a1e19.tar.xz
linux-rng-b84fd2835c70e0149e2522fd746d3fb7049a1e19.zip
mm: make page_mapped() take a const argument
None of the functions called by page_mapped() modify the page or folio, so mark them all as const. Link: https://lkml.kernel.org/r/20240326171045.410737-7-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/hugetlb.h')
0 files changed, 0 insertions, 0 deletions