From: Toshi Kani Date: Sun, 1 Apr 2012 03:37:02 +0000 (-0600) Subject: cpuidle: Fix panic in CPU off-lining with no idle driver X-Git-Tag: v3.4-rc2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee01e663373343c63e0e3d364d09f6155378dbcc;p=pandora-kernel.git cpuidle: Fix panic in CPU off-lining with no idle driver Fix a NULL pointer dereference panic in cpuidle_play_dead() during CPU off-lining when no cpuidle driver is registered. A cpuidle driver may be registered at boot-time based on CPU type. This patch allows an off-lined CPU to enter HLT-based idle in this condition. Signed-off-by: Toshi Kani Cc: Boris Ostrovsky Reviewed-by: Srivatsa S. Bhat Tested-by: Srivatsa S. Bhat Signed-off-by: Len Brown --- Reading git-diff-tree failed