From: Michael Holzheu Date: Sun, 30 Oct 2011 14:16:38 +0000 (+0100) Subject: [S390] Force PSW restart on online CPU X-Git-Tag: v3.2-rc1~109^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1943f53c9ca182fa233e5a17e89ef8e421d7819e;p=pandora-kernel.git [S390] Force PSW restart on online CPU PSW restart can be triggered on offline CPUs. If this happens, currently the PSW restart code fails, because functions like smp_processor_id() do not work on offline CPUs. This patch fixes this as follows: If PSW restart is triggered on an offline CPU, the PSW restart (sigp restart) is done a second time on another CPU that is online and the old CPU is stopped afterwards. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed