]> git.baikalelectronics.ru Git - kernel.git/commit
memblock tests: add new pageblock related macro
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 7 Sep 2022 08:26:43 +0000 (16:26 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:04 +0000 (14:03 -0700)
commit1a7862fab9b9a7037d3e3a0bd859fcc59de89d1f
treee7f862d88ce868ce7a7c7206c1d1e17169b57dba
parent755c0baacdcc1cbb1794634141a8dc5eb89549a1
memblock tests: add new pageblock related macro

Add new pageblock_start_pfn() and pageblock_align() macro which are needed
by memblock tests.

Link: https://lkml.kernel.org/r/20220907082643.186979-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/memblock/linux/mmzone.h