From: Colin Cross Date: Wed, 15 Aug 2012 20:10:50 +0000 (+0200) Subject: cpuidle: coupled: fix sleeping while atomic in cpu notifier X-Git-Tag: v3.6-rc3~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c6ba4352009a5f85b32307c001abeb5baebd28;p=pandora-kernel.git cpuidle: coupled: fix sleeping while atomic in cpu notifier The cpu hotplug notifier gets called in both atomic and non-atomic contexts, it is not always safe to lock a mutex. Filter out all events except the six necessary ones, which are all sleepable, before taking the mutex. Signed-off-by: Colin Cross Reviewed-by: Srivatsa S. Bhat Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed