Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3adc1bea authored by Andi Kleen's avatar Andi Kleen Committed by H. Peter Anvin
Browse files

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 128ea04a.

Link: http://lkml.kernel.org/r/1398984278-29319-2-git-send-email-andi@firstfloor.org


Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent ac008fe0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -12,9 +12,9 @@
#endif
#endif


#ifdef __cplusplus
#ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C" __visible
#define CPP_ASMLINKAGE extern "C"
#else
#else
#define CPP_ASMLINKAGE __visible
#define CPP_ASMLINKAGE
#endif
#endif


#ifndef asmlinkage
#ifndef asmlinkage