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

Ian May ian.may at canonical.com
Thu Jun 17 20:39:14 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1932065

This reverts commit 926e81d17c29629ed8713ac8c023270ca97106b2.

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

Reverting as SAUCE patches to prevent regressions.

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 9529982d11d7..80d83e68fcb4 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4644,6 +4644,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