Merge tag 'modules-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[sfrench/cifs-2.6.git] / include / linux / module.h
index 8f75277d4cef2003236eb2072bf13ad26e3e2c97..188998d3dca94162aedd5cbfdf18708fa016c1e4 100644 (file)
@@ -332,6 +332,7 @@ struct mod_kallsyms {
        Elf_Sym *symtab;
        unsigned int num_symtab;
        char *strtab;
+       char *typetab;
 };
 
 #ifdef CONFIG_LIVEPATCH
@@ -717,6 +718,17 @@ static inline bool within_module_core(unsigned long addr,
        return false;
 }
 
+static inline bool within_module_init(unsigned long addr,
+                                     const struct module *mod)
+{
+       return false;
+}
+
+static inline bool within_module(unsigned long addr, const struct module *mod)
+{
+       return false;
+}
+
 /* Get/put a kernel symbol (calls should be symmetric) */
 #define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); })
 #define symbol_put(x) do { } while (0)