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

Ian May ian.may at canonical.com
Tue Jun 15 22:04:05 UTC 2021


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 at canonical.com>
---
 kernel/module.c | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
2.25.1




More information about the kernel-team mailing list