]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
static_call: Remove __DEFINE_STATIC_CALL macro
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 14 Mar 2022 10:27:36 +0000 (11:27 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Apr 2022 07:59:38 +0000 (09:59 +0200)
commitdf21c0d7a94db64a4e1a0d070e26fb02e60fefab
tree0ab70de7c8cb7ea0b474eade067236355549c3a6
parent5517d500829c683a358a8de04ecb2e28af629ae5
static_call: Remove __DEFINE_STATIC_CALL macro

Only DEFINE_STATIC_CALL use __DEFINE_STATIC_CALL macro now when
CONFIG_HAVE_STATIC_CALL is selected.

Only keep __DEFINE_STATIC_CALL() for the generic fallback, and
also use it to implement DEFINE_STATIC_CALL_NULL() in that case.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/329074f92d96e3220ebe15da7bbe2779beee31eb.1647253456.git.christophe.leroy@csgroup.eu
include/linux/static_call.h