static_call: Avoid building empty .static_call_sites
authorPeter Zijlstra <peterz@infradead.org>
Tue, 8 Mar 2022 15:30:12 +0000 (16:30 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 15 Mar 2022 09:32:31 +0000 (10:32 +0100)
commitb44544fe0298ee2224960a31f795e317029e2a60
tree1578854fdd227402a8fe49e89a446362934d7589
parent599d66b8473b4dbf3808104db8cd7538a26e3068
static_call: Avoid building empty .static_call_sites

Without CONFIG_HAVE_STATIC_CALL_INLINE there's no point in creating
the .static_call_sites section and it's related symbols.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154317.223798256@infradead.org
include/asm-generic/vmlinux.lds.h