mm: page_alloc: make compound_page_dtors static
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 17 Jun 2023 03:46:22 +0000 (11:46 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 19 Jun 2023 23:19:37 +0000 (16:19 -0700)
commitcf01724e2d73a90524450e3dd8798cfb9d7aca05
tree15902d3cea61514804e97219457eea60faec518c
parentff71f26f9774267bcdfa4759ea8879562f079da4
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>
include/linux/mm.h
mm/page_alloc.c