commit | 9d42a53e0f46505b39494041d514372235817e15 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Sat Mar 12 12:51:12 2011 +0100 |
committer | Tejun Heo <tj@kernel.org> | Tue Mar 29 10:18:30 2011 +0200 |
tree | 1a4f87d700097cb03c1c6b9fdc98496849a971c9 | |
parent | fe5042138b6fc60edde3b60025078884c2eb71ac [diff] |
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>