[SRU][B][PATCH 5/8] UBUNTU: SAUCE: Revert "modules: unexport __module_text_address"
Ian May
ian.may at canonical.com
Thu Jun 17 20:22:22 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1932065
This reverts commit 4f6b65d9c48f94dd0eaff8f2e0fcd9838cffb2b6.
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 fa60c56c7291..969e47cb956d 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4401,6 +4401,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