Commit fbb4c641 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Lee Jones
Browse files

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: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 80be5998)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Ib2b9aec550f668c31aa023ade289bfad85a3788d
parent 21086923
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment