POWERPC: pseries: cpuidle: use time keeping flag
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 3 Apr 2013 12:15:22 +0000 (12:15 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2013 20:20:06 +0000 (22:20 +0200)
commit1ca8094403ae5553c6a0f404842be3075b302c70
treeff8e4c95d5f492403cef3cfba085514cbaa70409
parent561a07ac1c595572cbdbf459de87b319cba638ca
POWERPC: pseries: cpuidle: use time keeping flag

The current code computes the idle time but that can be handled
by the cpuidle framework if we enable the .en_core_tk_irqen flag.

Set the flag and remove the code related to the time computation.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/powerpc/platforms/pseries/processor_idle.c