]> git.baikalelectronics.ru Git - kernel.git/commit
hugetlb: Use helper macro SZ_1K
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 1 Sep 2022 12:00:22 +0000 (20:00 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:26:08 +0000 (20:26 -0700)
commit87e64e9939afb4805f3491249e394b57bb03eed9
tree1eca61c4ceaf521a5af72805523897f35d034048
parent75eaee77755b8d420649a06239390379b9dbf5cf
hugetlb: Use helper macro SZ_1K

Use helper macro SZ_1K to do the size conversion to make code more
consistent in this file. Minor readability improvement.

Link: https://lkml.kernel.org/r/20220901120030.63318-3-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>
mm/hugetlb.c