From: Michael Holzheu Date: Mon, 4 Apr 2011 07:43:30 +0000 (+0200) Subject: [S390] Fix parameter passing for smp_switch_to_cpu() X-Git-Tag: v2.6.39-rc3~11^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=034e9e966cd86e5d8062cf0b3daba4bde187986c;p=pandora-kernel.git [S390] Fix parameter passing for smp_switch_to_cpu() After the execution has been switched to the destination CPU, the target function is called with the wrong parameter. According to the C calling convention on s390, the first parameter should be loaded into register 2. Currently in smp_restart_cpu() it is stored in register 3. To fix this, we load the parameter into the correct register 2. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed