summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-02-08 12:01:07 +0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-14 08:21:59 +0400
commit128ea04a9885af9629059e631ddf0cab4815b589 (patch)
tree9ffb29bfa79217e301d3088c0f09d86fa2800f9d
parent67424d5a22124fa2d115faa8f32d12506989628f (diff)
downloadlinux-128ea04a9885af9629059e631ddf0cab4815b589.tar.xz
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>
-rw-r--r--include/linux/linkage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index a6a42dd02466..34a513a2727b 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -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