[SRU][B][PATCH 4/8] UBUNTU: SAUCE: Revert "modules: unexport __module_address"
Ian May
ian.may at canonical.com
Thu Jun 17 20:22:21 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1932065
This reverts commit bdaab9784129556485c19e7189ef7f00bfb99fb9.
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 91a63a13fdca..fa60c56c7291 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4362,6 +4362,7 @@ struct module *__module_address(unsigned long addr)
}
return mod;
}
+EXPORT_SYMBOL_GPL(__module_address);
/*
* is_module_text_address - is this address inside module code?
--
2.25.1
More information about the kernel-team
mailing list