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)
commit94e58e0ac31284fa26597c0e00a9b1d87a691d02
tree4822cf5019a6e5eaa70ca8487bb737bacb9f0006
parent5a144a1acd0b4b4afd1b2695f7231b58e8848ce6
export.h: remove code for prefixing symbols with underscore

CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX was selected by BLACKFIN, METAG.
They were removed by commit 4ba66a976072 ("arch: remove blackfin port"),
commit bb6fb6dfcc17 ("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