From: Daniel Lezcano Date: Tue, 23 Apr 2013 08:54:32 +0000 (+0000) Subject: ARM: ux500: cpuidle: replace for_each_online_cpu by for_each_possible_cpu X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b1c1999edbba3a411335f1650f0d92da391516;p=pandora-kernel.git ARM: ux500: cpuidle: replace for_each_online_cpu by for_each_possible_cpu All the drivers are using, in their initialization function, the for_each_possible_cpu macro. Using for_each_online_cpu means the driver must handle the initialization of the cpuidle device when a cpu is up which is not the case here. Change the macro to for_each_possible_cpu as that fix the hotplug initialization and make the initialization routine consistent with the rest of the code in the different drivers. Signed-off-by: Daniel Lezcano Acked-by: Linus Walleij Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed