From: Andi Kleen Date: Thu, 1 May 2014 22:44:36 +0000 (+0200) Subject: asmlinkage: Revert "lto: Make asmlinkage __visible" X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3adc1beacdbc1d6c4be99ecc2f87eac1c1e6f857;p=openwrt%2Fstaging%2Fblogic.git 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 128ea04a9885af9629059e631ddf0cab4815b589. Link: http://lkml.kernel.org/r/1398984278-29319-2-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin --- diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 34a513a2727b..a6a42dd02466 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -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