x86: Use this_cpu_has for thermal_interrupt current cpu
authorChristoph Lameter <cl@linux.com>
Sat, 12 Mar 2011 11:50:46 +0000 (12:50 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 29 Mar 2011 08:18:30 +0000 (10:18 +0200)
commitfe5042138b6fc60edde3b60025078884c2eb71ac
tree72f4489eda86a58d81030c6c69678e27ec5bd919
parent349c004e3d31fda23ad225b61861be38047fff16
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>
arch/x86/kernel/cpu/mcheck/therm_throt.c