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

Ian May ian.may at canonical.com
Tue Jun 15 22:04:04 UTC 2021


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

This reverts commit af4e129ed2147d19fcb9e2f914c3cbe09c9120f0.

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

Temporarily reverting as SAUCE patches to allow customers time to
make necessary changes to support patch changes.

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 8fe335d8b5f3..3ceb1f49ce6a 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4616,6 +4616,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