]> git.baikalelectronics.ru Git - kernel.git/commit
mm/sparse: make mminit_validate_memmodel_limits() static
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:42:44 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:05 +0000 (15:57 -0700)
commit19656f58207e938ce60f80cb3552ea2db9d0cb7b
tree3b44091a1876296de4f8e452a99be77e3f9611b5
parentfe153f99a09b32b189768859348a69c241219d78
mm/sparse: make mminit_validate_memmodel_limits() static

It's only used in the sparse.c now. So we can make it static and further
clean up the relevant code.

Link: https://lkml.kernel.org/r/20220127093221.63524-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/internal.h
mm/sparse.c