]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle/powerpc: Fix target residency initialisation in pseries cpuidle
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>
Wed, 3 Oct 2012 18:42:10 +0000 (18:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Oct 2012 23:57:24 +0000 (10:57 +1100)
commitc8de686703a3d6bfb5a302880c733ef991c33022
tree5342d2a9856f9a2ddc8fe3908d2ca1c1596eb2c2
parente5bc0ce34c3e7408aed074ed20121b0da0dffa67
cpuidle/powerpc: Fix target residency initialisation in pseries cpuidle

Remove the redundant target residency initialisation in pseries_cpuidle_driver_init().
This is currently over-writing the residency time updated as part of the static
table, resulting in  all the idle states having the same target
residency of 100us which is incorrect. This may result in the menu governor making
wrong state decisions.

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/processor_idle.c