]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle/powernv: Parse device tree to setup idle states
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>
Wed, 26 Feb 2014 00:09:20 +0000 (05:39 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Mar 2014 04:57:08 +0000 (15:57 +1100)
commite141a5f7f71e893cb580fc6e15cf66e5b19e1a5b
tree9365dde8014ff622dee120e8f080320f607753d6
parentcd370c8238b70048c6462ddecf422ba5b6bf04b5
cpuidle/powernv: Parse device tree to setup idle states

Add deep idle states such as nap and fast sleep to the cpuidle state table
only if they are discovered from the device tree during cpuidle initialization.

Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/cpuidle/cpuidle-powernv.c