]> git.baikalelectronics.ru Git - kernel.git/commit
CPU: Introduce ARCH_HAS_CPU_AUTOPROBE and X86 parts
authorThomas Renninger <trenn@suse.de>
Wed, 25 Jan 2012 23:09:14 +0000 (00:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2012 00:49:08 +0000 (16:49 -0800)
commitf5afd4162f2b42f8055a617ce4170063e37cfe7e
treee2a77737265a193bbec7ecfd08f4989931a0ba89
parent557f309f6cd8d99df2e8ec7642b5b1e77695380c
CPU: Introduce ARCH_HAS_CPU_AUTOPROBE and X86 parts

This patch is based on Andi Kleen's work:
Implement autoprobing/loading of modules serving CPU
specific features (x86cpu autoloading).

And Kay Siever's work to get rid of sysdev cpu structures
and making use of struct device instead.

Before, the cpuid driver had to be loaded to get the x86cpu
autoloading feature. With this patch autoloading works through
the /sys/devices/system/cpu object

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Dave Jones <davej@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Len Brown <lenb@kernel.org>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/Kconfig
arch/x86/kernel/cpu/match.c
arch/x86/kernel/cpuid.c
drivers/base/cpu.c
include/linux/cpu.h