old_cpu_power is wrongly divided by 65535 in ips_monitor()
authorminskey guo <chaohong.guo@linux.intel.com>
Fri, 17 Sep 2010 06:03:01 +0000 (14:03 +0800)
committerMatthew Garrett <mjg@redhat.com>
Tue, 5 Oct 2010 18:58:57 +0000 (14:58 -0400)
commitc21eae4f7c38db0e4693fb4cb24fb42fb83d8c15
treef81720a023cf14eb6cbe6ec189fd627107f117e2
parent6230d18cc7c4c68b7a38ea73bf5910e7652e5b21
old_cpu_power is wrongly divided by 65535 in ips_monitor()

The variable old_cpu_power is used to save the value of THM_CEC
register. In get_cpu_power(), it will be divided by 65535.

Signed-off-by: minskey guo <chaohong.guo@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_ips.c