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

__module_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 93f4b1d8d0982fe6233de26dd9f64d494894351e..bbbeb5614c57b37f513832054da122a35c63bd25 100644 (file)
@@ -4381,7 +4381,6 @@ struct module *__module_address(unsigned long addr)
        }
        return mod;
 }
-EXPORT_SYMBOL_GPL(__module_address);
 
 /*
  * is_module_text_address - is this address inside module code?