x86: align x86 arch with generic CPU modalias handling
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 8 Feb 2014 12:34:10 +0000 (13:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:45:38 +0000 (12:45 -0800)
commit2b9c1f03278ab7cd421f14ce24dee39091ecb064
treea27c0b56578e8063a164cdf184eead5b9bb35aa1
parent67bad2fdb754dbef14596c0b5d28b3a12c8dfe84
x86: align x86 arch with generic CPU modalias handling

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 <ard.biesheuvel@linaro.org>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/Kconfig
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/match.c
drivers/base/Kconfig
drivers/base/cpu.c
include/linux/cpu.h
scripts/mod/file2alias.c