Subject: [PATCH 3/5] x86: align x86 arch with generic CPU modalias handling

From: [email-masked] (H. Peter Anvin)
Date: Wed, 29 Jan 2014 09:16:24 -0800

On 01/29/2014 08:50 AM, Ard Biesheuvel wrote:
> The x86 CPU feature modalias handling existed before it was reimplemented
> generically. This patch aligns the x86 handling so that it
> (a) reuses some more code that is now generic;
> (b) uses the generic format for the modalias module metadata entry, i.e., it
>     now uses 'cpu:type:x86,venVVVVfamFFFFmodMMMM:feature:,XXXX,YYYY' instead of
>     the 'x86cpu:vendor:VVVV:family:FFFF:model:MMMM:feature,XXXX,YYYY' that was
>     used before.
> 
> Signed-off-by: Ard Biesheuvel <[email-masked]>

Looks good, although I have not tested it.

Acked-by: H. Peter Anvin <[email-masked]>

	-hpa