diff mbox series

[SRU,B,4/8] UBUNTU: SAUCE: Revert "modules: unexport __module_address"

Message ID 20210617202225.1579294-5-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 17, 2021, 8:22 p.m. UTC
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@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 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?