xen/mm: pg_offlined can be defined as bool in free_heap_pages()
authorJulien Grall <jgrall@amazon.com>
Wed, 23 Feb 2022 19:08:33 +0000 (19:08 +0000)
committerJulien Grall <jgrall@amazon.com>
Thu, 24 Feb 2022 17:32:43 +0000 (17:32 +0000)
commit9ba4c529985a1773852069889a5b53f2ed26c408
tree1a3dc6549caf061c06a8d271a802b9644dfea225
parent66b467a0e86daff8caa2b571871b1cb96633df45
xen/mm: pg_offlined can be defined as bool in free_heap_pages()

The local variable pg_offlined in free_heap_pages() can only take two
values. So switch it to a bool.

Fixes: 289610483fc43 ("mm: fix broken tainted value in mark_page_free")
Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/page_alloc.c