summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_throttling.c
diff options
context:
space:
mode:
authorChristoph Lameter2011-03-12 12:50:46 +0100
committerTejun Heo2011-03-29 10:18:30 +0200
commitfe5042138b6fc60edde3b60025078884c2eb71ac (patch)
tree72f4489eda86a58d81030c6c69678e27ec5bd919 /drivers/acpi/processor_throttling.c
parentx86: A fast way to check capabilities of the current cpu (diff)
downloadkernel-qcow2-linux-fe5042138b6fc60edde3b60025078884c2eb71ac.tar.gz
kernel-qcow2-linux-fe5042138b6fc60edde3b60025078884c2eb71ac.tar.xz
kernel-qcow2-linux-fe5042138b6fc60edde3b60025078884c2eb71ac.zip
x86: Use this_cpu_has for thermal_interrupt current cpu
It is more effective to use a segment prefix instead of calculating the address of the current cpu area amd then testing flags. Signed-off-by: Christoph Lameter <cl@linux.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/acpi/processor_throttling.c')
0 files changed, 0 insertions, 0 deletions