]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
modules: unexport __module_address
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Jul 2020 06:10:24 +0000 (08:10 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 19 May 2021 08:59:34 +0000 (10:59 +0200)
BugLink: https://bugs.launchpad.net/bugs/1928825
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
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?