aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-17 11:46:22 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:37 -0700
commitcf01724e2d73a90524450e3dd8798cfb9d7aca05 (patch)
tree15902d3cea61514804e97219457eea60faec518c /include/linux/mm.h
parentff71f26f9774267bcdfa4759ea8879562f079da4 (diff)
downloadlinux-cf01724e2d73a90524450e3dd8798cfb9d7aca05.tar.gz
mm: page_alloc: make compound_page_dtors static
It's only used inside page_alloc.c now. So make it static and remove the declaration in mm.h. Link: https://lkml.kernel.org/r/20230617034622.1235913-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index a8baa34d0747f..cf43deb25553d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1220,7 +1220,6 @@ enum compound_dtor_id {
#endif
NR_COMPOUND_DTORS,
};
-extern compound_page_dtor * const compound_page_dtors[NR_COMPOUND_DTORS];
static inline void folio_set_compound_dtor(struct folio *folio,
enum compound_dtor_id compound_dtor)