summaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-30 08:10:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:04:03 +0200
commit7500d4999431211638ea7f3572b09bc274edeb96 (patch)
tree8e72a976ea95c8b5f984e48a92de10dd5ee00469 /kernel/module.c
parentad6d414703d7ee4fa33ebc1f0578aeff0e97bd7d (diff)
modules: unexport __module_address
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>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 3ceb1f49ce6a..8fe335d8b5f3 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -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?