From: Andi Kleen Date: Thu, 1 May 2014 22:44:36 +0000 (+0200) Subject: asmlinkage: Revert "lto: Make asmlinkage __visible" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3adc1beacdbc1d6c4be99ecc2f87eac1c1e6f857;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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