Whamcloud - gitweb
LU-9763 kernel: kernel update RHEL6.9 [2.6.32-696.6.3.el6]
[fs/lustre-release.git] / lustre / kernel_patches / patches / kallsyms-rhel6.patch
diff --git a/lustre/kernel_patches/patches/kallsyms-rhel6.patch b/lustre/kernel_patches/patches/kallsyms-rhel6.patch
new file mode 100644 (file)
index 0000000..9443057
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/kernel/kallsyms.c.orig   2017-07-12 13:01:00.143416830 -0700
++++ a/kernel/kallsyms.c        2017-07-12 13:01:40.438112247 -0700
+@@ -181,6 +181,7 @@ unsigned long kallsyms_lookup_name(const
+       }
+       return module_kallsyms_lookup_name(name);
+ }
++EXPORT_SYMBOL_GPL(kallsyms_lookup_name);
+ int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
+                                     unsigned long),