]> Git Repo - linux.git/blobdiff - include/linux/module.h
Merge tag 'v4.15' into x86/pti, to be able to merge dependent changes
[linux.git] / include / linux / module.h
index c69b49abe8775417587387a8d7def5497e476fc8..1d8f245967be7f1adad079bc16c55766e1c8edaf 100644 (file)
@@ -801,6 +801,15 @@ static inline void module_bug_finalize(const Elf_Ehdr *hdr,
 static inline void module_bug_cleanup(struct module *mod) {}
 #endif /* CONFIG_GENERIC_BUG */
 
+#ifdef RETPOLINE
+extern bool retpoline_module_ok(bool has_retpoline);
+#else
+static inline bool retpoline_module_ok(bool has_retpoline)
+{
+       return true;
+}
+#endif
+
 #ifdef CONFIG_MODULE_SIG
 static inline bool module_sig_ok(struct module *module)
 {
This page took 0.030513 seconds and 4 git commands to generate.