Skip to content

Commit

Permalink
lto: Make asmlinkage __visible
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed Feb 14, 2014
1 parent 67424d5 commit 128ea04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 128ea04

Please sign in to comment.