mm/page_alloc: use helper macro SZ_1{K,M}
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 16 Sep 2022 07:22:53 +0000 (15:22 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:30 +0000 (14:03 -0700)
commitc940e0207a1c307fdab92b32d0522271036fc3ef
treea234b7282ecf2fe8869f2140408f670fa447c62a
parent6dc2c87a5a8878b657d08e34ca0e757d31273e12
mm/page_alloc: use helper macro SZ_1{K,M}

Use helper macro SZ_1K and SZ_1M to do the size conversion.  Minor
readability improvement.

Link: https://lkml.kernel.org/r/20220916072257.9639-13-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c