]> git.baikalelectronics.ru Git - kernel.git/commit
memblock tests: set memblock_debug to enable memblock_dbg() messages
authorRebecca Mckeever <remckee0@gmail.com>
Mon, 4 Jul 2022 04:06:57 +0000 (23:06 -0500)
committerMike Rapoport <rppt@linux.ibm.com>
Mon, 4 Jul 2022 16:58:28 +0000 (19:58 +0300)
commit9a1dae19860a9fa50557e7232c2ffa10da860af1
tree8459b5e9a48a70a333cd2223df7472cc7f7b5329
parentefc7b66b720d5d78e1b1d3f38a516bc06d2e7671
memblock tests: set memblock_debug to enable memblock_dbg() messages

If Memblock simulator was compiled with MEMBLOCK_DEBUG=1, set
memblock_debug to 1 so that memblock_dbg() will print debug information
when memblock functions are tested in Memblock simulator.

Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/aee4200cce1c09992ed055006a81fde1b6b5b567.1656907314.git.remckee0@gmail.com
tools/testing/memblock/internal.h