]> git.baikalelectronics.ru Git - kernel.git/commit
lib/bootconfig: Make xbc_alloc_mem() and xbc_free_mem() as __init function
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 25 Oct 2021 08:32:37 +0000 (17:32 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Oct 2021 21:23:45 +0000 (17:23 -0400)
commit110fcc0f6db543a261c29cbcfe4935a4ae3c30b1
tree464fe0683406f10b97056735f7dffe5f6218c3ae
parent4acca5eba7134bc3c13574c56acd28aec612269c
lib/bootconfig: Make xbc_alloc_mem() and xbc_free_mem() as __init function

Since the xbc_alloc_mem() and xbc_free_mem() are used from
the __init functions and memblock_alloc() is __init function,
make them __init functions too.

Link: https://lkml.kernel.org/r/163515075747.547467.5746167540626712819.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Fixes: e71d6c1d7061 ("bootconfig: Cleanup dummy headers in tools/bootconfig")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
lib/bootconfig.c