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)
commitc2c3a60a857bfeb154a97ee7e430fc8609c57979
tree1eca61c4ceaf521a5af72805523897f35d034048
parent263b899802fc43cd0e6979f819271dfbb93c94af
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