]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfc5dfebc8055426299739dd1a7828af9638c94fb
treee7f862d88ce868ce7a7c7206c1d1e17169b57dba
parentee0913c4719610204315a0d8a35122c6233249e0
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