]> git.baikalelectronics.ru Git - kernel.git/commit
intel-idle: convert to x86_cpu_id auto probing
authorAndi Kleen <ak@linux.intel.com>
Wed, 25 Jan 2012 23:09:07 +0000 (00:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2012 00:48:11 +0000 (16:48 -0800)
commit104eb7dd0ea2b9fe7767f161fe697a325be87c92
treea78f20cafa051b74241c54eb09a4078148713d6d
parenta7927e4f480450c33c250b9979da669f2b1d25ec
intel-idle: convert to x86_cpu_id auto probing

With this it should be automatically loaded on suitable systems by
udev.

The old switch () is replaced with a table based approach, this
also cleans up the code.

Cc: Len Brown <lenb@kernel.org>
Signed-off-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>
drivers/idle/intel_idle.c