diff mbox series

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

Message ID 20210615220408.1407292-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 15, 2021, 10:04 p.m. UTC
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@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 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?