Skip to content

Commit

Permalink
asmlinkage: Revert "lto: Make asmlinkage __visible"
Browse files Browse the repository at this point in the history
As requested by Linus, revert adding __visible to asmlinkage.
Instead we add __visible explicitely to all the symbols
that need it.

This reverts commit 128ea04.

Link: http://lkml.kernel.org/r/1398984278-29319-2-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed May 5, 2014
1 parent ac008fe commit 3adc1be
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" __visible
#define CPP_ASMLINKAGE extern "C"
#else
#define CPP_ASMLINKAGE __visible
#define CPP_ASMLINKAGE
#endif

#ifndef asmlinkage
Expand Down

0 comments on commit 3adc1be

Please sign in to comment.