]> git.baikalelectronics.ru Git - kernel.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)
commit3c963aae25daf78d00c8592d4186028432b5cb1e
treed03bd58a302933b4ca89672fa713d4d3e8b00f2a
parent9250d26832e50bcc7539bfb1487e7358416de8d3
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 14cda2ccc54b ("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: 14cda2ccc54b ("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