]> 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>
Tue, 11 May 2021 12:04:03 +0000 (14:04 +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 3ceb1f49ce6aa3e83b5a54826ec4d02e2422ec04..8fe335d8b5f3f6d5c3f864eaf52d45a488fe104e 100644 (file)
@@ -4616,7 +4616,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?