Re: [PATCH 4/4][V2] cpuidle: support multiple drivers

2012-10-19 Thread Lorenzo Pieralisi
On Fri, Oct 19, 2012 at 11:10:49AM +0100, Daniel Lezcano wrote: [...] > @@ -394,9 +404,9 @@ EXPORT_SYMBOL_GPL(cpuidle_disable_device); > static int __cpuidle_register_device(struct cpuidle_device *dev) > { > int ret; > - struct cpuidle_driver *cpuidle_driver = cpuidle_get_driver()

[PATCH 4/4][V2] cpuidle: support multiple drivers

2012-10-19 Thread Daniel Lezcano
With the tegra3 and the big.LITTLE [1] new architectures, several cpus with different characteristics (latencies and states) can co-exists on the system. The cpuidle framework has the limitation of handling only identical cpus. This patch removes this limitation by introducing the multiple driver