[SRU][G][PATCH 4/8] UBUNTU: SAUCE: Revert "modules: unexport __module_address"

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


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

This reverts commit b4eb66555d5fc8487204ad700c7ab0ac4748d06f.

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 9ebcdab96b43..9529982d11d7 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4605,6 +4605,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