Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / include / asm-generic / vmlinux.lds.h
index 2a10db2..69138e9 100644 (file)
        KEEP(*(__jump_table))                                           \
        __stop___jump_table = .;
 
+#ifdef CONFIG_HAVE_STATIC_CALL_INLINE
 #define STATIC_CALL_DATA                                               \
        . = ALIGN(8);                                                   \
        __start_static_call_sites = .;                                  \
        __start_static_call_tramp_key = .;                              \
        KEEP(*(.static_call_tramp_key))                                 \
        __stop_static_call_tramp_key = .;
+#else
+#define STATIC_CALL_DATA
+#endif
 
 /*
  * Allow architectures to handle ro_after_init data on their