diff mbox series

[SRU,F,5/8] UBUNTU: SAUCE: Revert "modules: unexport __module_text_address"

Message ID 20210615220408.1407292-6-ian.may@canonical.com
State New
Headers show
Series UBUNTU: SAUCE: Revert upstream 'module' patches that removed exported symbols | expand

Commit Message

Ian May June 15, 2021, 10:04 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1932065

This reverts commit f79fc8eadd74a16ea3abb874c1c04f9813d721d0.

Upstream introduced 'module' patches that removed exported symbols
that might cause potential disruption and breakage for customers.

Temporarily reverting as SAUCE patches to allow customers time to
make necessary changes to support patch changes.

Signed-off-by: Ian May <ian.may@canonical.com>
---
 kernel/module.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/kernel/module.c b/kernel/module.c
index 3ceb1f49ce6a..13ec39a09f16 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4655,6 +4655,7 @@  struct module *__module_text_address(unsigned long addr)
 	}
 	return mod;
 }
+EXPORT_SYMBOL_GPL(__module_text_address);
 
 /* Don't grab lock, we're oopsing. */
 void print_modules(void)