diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2012-05-24 14:38:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-30 09:04:51 +0200 |
commit | 061da3dfb291570e780169918933ba51c2b7d554 (patch) | |
tree | 6f41ed465199eb7c5a8b31ff6b834c0b5aa2565e /arch/s390/include | |
parent | 73bf463efaba6a1efe69349c6d7275d03468adf4 (diff) | |
download | linux-061da3dfb291570e780169918933ba51c2b7d554.tar.bz2 |
s390/kernel: Fix smp_call_ipl_cpu() for offline CPUs
If the IPL CPU is offline, currently the pcpu_delegate() function
used by smp_call_ipl_cpu() does not work because pcpu_delegate()
modifies the lowcore of the target CPU. In case of an offline
IPL CPU currently the prefix register is zero but pcpu->lowcore
still points to the old prefix page. Therefore the lowcore changes
done by pcpu_delegate() have no effect.
With this fix pcpu_delegate() now uses memcpy_absolute() and therefore
also prepares the absolute zero lowcore if the target CPU has prefix
register zero.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions