2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00

lto: Make asmlinkage __visible

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-3-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
Andi Kleen 2014-02-08 09:01:07 +01:00 committed by H. Peter Anvin
parent 67424d5a22
commit 128ea04a98

View File

@ -12,9 +12,9 @@
#endif
#ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C"
#define CPP_ASMLINKAGE extern "C" __visible
#else
#define CPP_ASMLINKAGE
#define CPP_ASMLINKAGE __visible
#endif
#ifndef asmlinkage