UPSTREAM: 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 77e02cf5 ("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(). Bug: 254441685 Fixes: 77e02cf5 ("memblock: introduce saner 'memblock_free_ptr()' interface") Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit 80be5998) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: Ib2b9aec550f668c31aa023ade289bfad85a3788d
Loading
Please sign in to comment