OSDN Git Service

asm-generic/export.h: make __ksymtab_* local symbols
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 18 Oct 2019 04:31:47 +0000 (13:31 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Nov 2019 11:10:01 +0000 (20:10 +0900)
commita31ec048ef01a76ff893e0fa482e569d04d0c4b4
tree69ed49fb5b9d04120eb33967ed986e284adf3c1c
parent2dffd23f81a365307c0edcf9cb40b6ddae2b481e
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>
include/asm-generic/export.h