]> git.baikalelectronics.ru Git - kernel.git/commit
hugetlb: make hugetlb_cma_check() static
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 1 Sep 2022 12:00:21 +0000 (20:00 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:26:08 +0000 (20:26 -0700)
commit75eaee77755b8d420649a06239390379b9dbf5cf
tree665778e8244942d28d8f8f999feb7c35ddccf7e5
parentf3a82019b23953157eeaf6144ec915804d50eb0d
hugetlb: make hugetlb_cma_check() static

Patch series "A few cleanup patches for hugetlb", v2.

This series contains a few cleanup patches to use helper functions to
simplify the codes, remove unneeded nid parameter and so on. More
details can be found in the respective changelogs.

This patch (of 10):

Make hugetlb_cma_check() static as it's only used inside mm/hugetlb.c.

Link: https://lkml.kernel.org/r/20220901120030.63318-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20220901120030.63318-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
mm/hugetlb.c