memblock tests: add tests for memblock_*bottom_up functions
authorRebecca Mckeever <remckee0@gmail.com>
Sat, 27 Aug 2022 05:42:49 +0000 (00:42 -0500)
committerMike Rapoport <rppt@linux.ibm.com>
Tue, 30 Aug 2022 10:12:00 +0000 (13:12 +0300)
commita541c6d428f775efcfe25236062c96b59e31b57a
tree69bd284e1bc82c8e5ea09d309248b2fcac6df920
parentae544fd62c14265dc663a65b3f9c6c5a6134098a
memblock tests: add tests for memblock_*bottom_up functions

Add simple tests for memblock_set_bottom_up() and memblock_bottom_up().

Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Shaoqin Huang <shaoqin.huang@intel.com>
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/b03701d2faeaf00f7184e4b72903de4e5e939437.1661578349.git.remckee0@gmail.com
tools/testing/memblock/tests/basic_api.c