summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-30 08:10:23 +0200
committerJessica Yu <jeyu@kernel.org>2020-08-01 16:05:00 +0200
commit3fe1e56d0e68b623dd62d8d38265d2a052e7e185 (patch)
tree630e470ef3404d39b5d2c8dd8ba11f033f295a78
parentmodules: mark each_symbol_section static (diff)
downloadlinux-3fe1e56d0e68b623dd62d8d38265d2a052e7e185.tar.xz
linux-3fe1e56d0e68b623dd62d8d38265d2a052e7e185.zip
modules: unexport __module_text_address
__module_text_address is only used by built-in code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jessica Yu <jeyu@kernel.org>
-rw-r--r--kernel/module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index c2a099a27b68..6ee1739e3150 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4503,7 +4503,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)