asmlinkage: Revert "lto: Make asmlinkage __visible"

As requested by Linus, revert adding __visible to asmlinkage.
Instead we add __visible explicitely to all the symbols
that need it.

This reverts commit 128ea04a98.

Link: http://lkml.kernel.org/r/1398984278-29319-2-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
Andi Kleen 2014-05-02 00:44:36 +02:00 committed by H. Peter Anvin
parent ac008fe0a3
commit 3adc1beacd

View file

@ -12,9 +12,9 @@
#endif
#ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C" __visible
#define CPP_ASMLINKAGE extern "C"
#else
#define CPP_ASMLINKAGE __visible
#define CPP_ASMLINKAGE
#endif
#ifndef asmlinkage