]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit052059f6ce2e602d126a9334cf465fb63c8d4077
treea234b7282ecf2fe8869f2140408f670fa447c62a
parent25afa7021e8fd4dd8a0a752053c547102f749b64
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