#ifdef CONFIG_HAVE_STATIC_CALL
#include <asm/static_call.h>
-extern bool static_call_initialized;
/*
* Either @site or @tramp can be NULL.
*/
#ifdef CONFIG_HAVE_STATIC_CALL_INLINE
+extern bool static_call_initialized;
+
extern int __init static_call_init(void);
struct static_call_mod {
#elif defined(CONFIG_HAVE_STATIC_CALL)
+#define static_call_initialized 0
+
static inline int static_call_init(void) { return 0; }
struct static_call_key {
#else /* Generic implementation */
+#define static_call_initialized 0
+
static inline int static_call_init(void) { return 0; }
struct static_call_key {