mm: make page_ext_get() take a const argument
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 26 Mar 2024 17:10:25 +0000 (17:10 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:14 +0000 (20:56 -0700)
commit6e65aa55cdf4c7cc0490b156b4aae2035c157140
treeff4339cc09c9d9e072ec14536abc0f33a4de30a5
parentfa92722e382b3926a371d7432bbfde5efee2f2be
mm: make page_ext_get() take a const argument

In order to constify other functions, we need page_ext_get() to be const.
This is no problem as lookup_page_ext() already takes a const argument.

Link: https://lkml.kernel.org/r/20240326171045.410737-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page_ext.h
include/linux/pgalloc_tag.h
mm/page_ext.c