]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
modules: unexport __module_text_address
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Jul 2020 06:10:23 +0000 (08:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:59:23 +0000 (10:59 +0200)
commit 3fe1e56d0e68b623dd62d8d38265d2a052e7e185 upstream.

__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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/module.c

index b1a00367fa3dabfb960b484852deefdd98585f51..93f4b1d8d0982fe6233de26dd9f64d494894351e 100644 (file)
@@ -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)