On Thu, Feb 13, 2014 at 08:30:37PM -0800, tip-bot for Andi Kleen wrote: > Commit-ID: 128ea04a9885af9629059e631ddf0cab4815b589 > Gitweb: http://git.kernel.org/tip/128ea04a9885af9629059e631ddf0cab4815b589 > Author: Andi Kleen <ak@xxxxxxxxxxxxxxx> > AuthorDate: Sat, 8 Feb 2014 09:01:07 +0100 > Committer: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> > CommitDate: Thu, 13 Feb 2014 20:21:59 -0800 > > lto: Make asmlinkage __visible > > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx> > Link: http://lkml.kernel.org/r/1391846481-31491-3-git-send-email-ak@xxxxxxxxxxxxxxx > Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> > --- > include/linux/linkage.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/linkage.h b/include/linux/linkage.h > index a6a42dd..34a513a 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 > -- arch/x86/crypto/sha256_ssse3_glue.c:56:1: warning: ‘externally_visible’ attribute have effect only on public objects [-Wattributes] static asmlinkage void (*sha256_transform_asm)(const char *, u32 *, u64); ^ arch/x86/crypto/sha512_ssse3_glue.c:55:1: warning: ‘externally_visible’ attribute have effect only on public objects [-Wattributes] static asmlinkage void (*sha512_transform_asm)(const char *, u64 *, u64); I guess it is trying to tell me that static function pointers cannot be __visible: static asmlinkage void (*sha256_transform_asm)(const char *, u32 *, u64); and static asmlinkage void (*sha512_transform_asm)(const char *, u64 *, u64); -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |