]> git.baikalelectronics.ru Git - kernel.git/commit
export.h: remove code for prefixing symbols with underscore
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 9 May 2018 07:23:49 +0000 (16:23 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 May 2018 13:44:57 +0000 (22:44 +0900)
commitaad73b867a663b2076d4b56166de16815162669e
tree4822cf5019a6e5eaa70ca8487bb737bacb9f0006
parent96847f30c2bfb2a755feecb97bbd693794220cfa
export.h: remove code for prefixing symbols with underscore

CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX was selected by BLACKFIN, METAG.
They were removed by commit 1f631485121d ("arch: remove blackfin port"),
commit e379a3f01b92 ("metag: Remove arch/metag/"), respectively.

No more architecture enables CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX.
Clean up the export.h headers.  I am keeping VMLINUX_SYMBOL() and
VMLINUX_SYMBOL_STR() because they are widely used.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
include/asm-generic/export.h
include/linux/export.h