Re: linux-next: build warning after merge of the tip tree

From: H. Peter Anvin
Date: Mon Feb 24 2014 - 10:52:56 EST


static asmlinkage can make sense if a pointer to the function is taken somewhere in the same translation unit.

On February 24, 2014 7:48:41 AM PST, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>> I guess that there may be more places where "asmlinkage" is used with
>> "static" - I assume that they are all incorrect?
>
>Likely they are bogus yes.
>
>One issue is still the changed ABI on i386, so one has to double check
>before removing if they have arguments.
>
>-Andi

--
Sent from my mobile phone. Please pardon brevity and lack of formatting.
--
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/