Commit-ID: 3adc1beacdbc1d6c4be99ecc2f87eac1c1e6f857 Gitweb: http://git.kernel.org/tip/3adc1beacdbc1d6c4be99ecc2f87eac1c1e6f857 Author: Andi Kleen <a...@linux.intel.com> AuthorDate: Fri, 2 May 2014 00:44:36 +0200 Committer: H. Peter Anvin <h...@linux.intel.com> CommitDate: Mon, 5 May 2014 16:07:37 -0700
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-a...@firstfloor.org Signed-off-by: H. Peter Anvin <h...@linux.intel.com> --- include/linux/linkage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 34a513a..a6a42dd 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/