summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-10-18 06:31:47 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-11 12:10:01 +0100
commita31ec048ef01a76ff893e0fa482e569d04d0c4b4 (patch)
tree69ed49fb5b9d04120eb33967ed986e284adf3c1c /include/asm-generic
parentkbuild: make single target builds much faster (diff)
downloadlinux-a31ec048ef01a76ff893e0fa482e569d04d0c4b4.tar.xz
linux-a31ec048ef01a76ff893e0fa482e569d04d0c4b4.zip
asm-generic/export.h: make __ksymtab_* local symbols
For EXPORT_SYMBOL from C files, <linux/export.h> defines __ksymtab_* as local symbols. For EXPORT_SYMBOL from assembly, in contrast, <asm-generic/export.h> produces globally-visible __ksymtab_* symbols due to this .globl directive. I do not know why this must be global. It still works without this. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/export.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h
index fa577978fbbd..80ef2dc0c8be 100644
--- a/include/asm-generic/export.h
+++ b/include/asm-generic/export.h
@@ -31,7 +31,6 @@
*/
.macro ___EXPORT_SYMBOL name,val,sec
#ifdef CONFIG_MODULES
- .globl __ksymtab_\name
.section ___ksymtab\sec+\name,"a"
.balign KSYM_ALIGN
__ksymtab_\name: