diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-02-08 13:34:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 12:45:38 -0800 |
commit | 2b9c1f03278ab7cd421f14ce24dee39091ecb064 (patch) | |
tree | a27c0b56578e8063a164cdf184eead5b9bb35aa1 /include/linux | |
parent | 67bad2fdb754dbef14596c0b5d28b3a12c8dfe84 (diff) | |
download | linux-stable-2b9c1f03278ab7cd421f14ce24dee39091ecb064.tar.gz linux-stable-2b9c1f03278ab7cd421f14ce24dee39091ecb064.tar.bz2 linux-stable-2b9c1f03278ab7cd421f14ce24dee39091ecb064.zip |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cpu.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 03e235ad1bba..03e962e23eaf 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -46,13 +46,6 @@ extern ssize_t arch_cpu_release(const char *, size_t); #endif struct notifier_block; -#ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE -extern int arch_cpu_uevent(struct device *dev, struct kobj_uevent_env *env); -extern ssize_t arch_print_cpu_modalias(struct device *dev, - struct device_attribute *attr, - char *bufptr); -#endif - /* * CPU notifier priorities. */ |