summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-02-12 17:08:07 +0300
committerMarc Zyngier <maz@kernel.org>2021-02-12 17:08:07 +0300
commit6b76d624e64fbb4bcbf1bc81ddbbe9e2432af082 (patch)
treec31149f4be316b2fd6ca0a3acc4f2fd81153654a /include
parent5e6b211136a86e3fa6c9d7d3d0dbc4b7df9923b6 (diff)
parentbbc075e01ceac50e0a8353b520544f3089e94e44 (diff)
downloadlinux-6b76d624e64fbb4bcbf1bc81ddbbe9e2432af082.tar.xz
Merge branch 'kvm-arm64/misc-5.12' into kvmarm-master/next
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/export.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h
index 365345f9a9e3..07a36a874dca 100644
--- a/include/asm-generic/export.h
+++ b/include/asm-generic/export.h
@@ -33,7 +33,7 @@
*/
.macro ___EXPORT_SYMBOL name,val,sec
-#ifdef CONFIG_MODULES
+#if defined(CONFIG_MODULES) && !defined(__DISABLE_EXPORTS)
.section ___ksymtab\sec+\name,"a"
.balign KSYM_ALIGN
__ksymtab_\name: