summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-02-08 09:01:07 +0100
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-13 20:21:59 -0800
commit128ea04a9885af9629059e631ddf0cab4815b589 (patch)
tree9ffb29bfa79217e301d3088c0f09d86fa2800f9d /include/linux
parent67424d5a22124fa2d115faa8f32d12506989628f (diff)
downloadlinux-128ea04a9885af9629059e631ddf0cab4815b589.tar.gz
linux-128ea04a9885af9629059e631ddf0cab4815b589.tar.bz2
linux-128ea04a9885af9629059e631ddf0cab4815b589.zip
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>
Diffstat (limited to 'include/linux')
-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