From: Robert Jennings Date: Tue, 7 May 2013 04:34:11 +0000 (+0000) Subject: powerpc: Bring all threads online prior to migration/hibernation X-Git-Tag: v3.10-rc2~31^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=120496ac2d2d60aee68d3123a68169502a85f4b5;p=pandora-kernel.git powerpc: Bring all threads online prior to migration/hibernation This patch brings online all threads which are present but not online prior to migration/hibernation. After migration/hibernation those threads are taken back offline. During migration/hibernation all online CPUs must call H_JOIN, this is required by the hypervisor. Without this patch, threads that are offline (H_CEDE'd) will not be woken to make the H_JOIN call and the OS will be deadlocked (all threads either JOIN'd or CEDE'd). Cc: Signed-off-by: Robert Jennings Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed