Re: [PATCH 01/10] x86: add support for multiple choice alternatives

From: H. Peter Anvin
Date: Thu Feb 18 2010 - 15:32:52 EST


On 02/17/2010 04:47 AM, Avi Kivity wrote:
> On 02/17/2010 01:42 PM, Luca Barbieri wrote:
>> This patch modifies the x86 alternative macros to allow more than one
>> alternative code sequence.
>>
> Suggest documenting the precedence of alternatives: if both feature1 and
> feature2 are present, which newinstr is patched in?
>

Looks like the last one in the sequence takes effect, which is
consistent with the operation of the single ALTERNATIVE() macro ...
anything else would be quite lunacy.

-hpa
--
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/