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

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.orgSigned-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent ac008fe0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment