acpi throttling: Use this_cpu_has and simplify code current cpu
commit9d42a53e0f46505b39494041d514372235817e15
authorChristoph Lameter <cl@linux.com>
Sat, 12 Mar 2011 11:51:12 +0000 (12 12:51 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 29 Mar 2011 08:18:30 +0000 (29 10:18 +0200)
tree1a4f87d700097cb03c1c6b9fdc98496849a971c9
parentfe5042138b6fc60edde3b60025078884c2eb71ac
acpi throttling: Use this_cpu_has and simplify code current cpu

With the this_cpu_xx we no longer need to pass an acpi
structure to the msr management code. Simplifies code and improves
performance.

NOTE: This code is x86 specific (see #ifdef CONFIG_X86) but not under
      arch/x86.

Signed-off-by: Christoph Lameter <cl@linux.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/acpi/processor_throttling.c