]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tools/bootconfig: Define memblock_free_ptr() to fix build error
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 15 Sep 2021 00:53:38 +0000 (09:53 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Sep 2021 16:49:48 +0000 (09:49 -0700)
commit80be5998ad6339e3e804a772723390cb50b96428
treed03bd58a302933b4ca89672fa713d4d3e8b00f2a
parent3ca706c189db861b2ca2019a0901b94050ca49d8
tools/bootconfig: Define memblock_free_ptr() to fix build error

The lib/bootconfig.c file is shared with the 'bootconfig' tooling, and
as a result, the changes incommit 77e02cf57b6c ("memblock: introduce
saner 'memblock_free_ptr()' interface") need to also be reflected in the
tooling header file.

So define the new memblock_free_ptr() wrapper, and remove unused __pa()
and memblock_free().

Fixes: 77e02cf57b6c ("memblock: introduce saner 'memblock_free_ptr()' interface")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/bootconfig/include/linux/memblock.h