From: Christoph Hellwig Date: Thu, 30 Jul 2020 06:10:23 +0000 (+0200) Subject: modules: unexport __module_text_address X-Git-Tag: v4.19.191~303 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d338108ac15abf71fb7cf0ce6e0cd12b5be3201b;p=thirdparty%2Fkernel%2Fstable.git modules: unexport __module_text_address commit 3fe1e56d0e68b623dd62d8d38265d2a052e7e185 upstream. __module_text_address is only used by built-in code. Signed-off-by: Christoph Hellwig Signed-off-by: Jessica Yu Signed-off-by: Greg Kroah-Hartman --- diff --git a/kernel/module.c b/kernel/module.c index b1a00367fa3da..93f4b1d8d0982 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -4420,7 +4420,6 @@ struct module *__module_text_address(unsigned long addr) } return mod; } -EXPORT_SYMBOL_GPL(__module_text_address); /* Don't grab lock, we're oopsing. */ void print_modules(void)