Re: [tip:x86/asmlinkage] lto: Make asmlinkage __visible

From: Andi Kleen
Date: Fri Feb 14 2014 - 09:38:31 EST


> 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);

Yes there are a couple such warnings now. static asmlinkage
does not make much sense. Can run a cocinelle rule over the tree
later, will send patches.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/