]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[S390] kernel: Pass correct stack for smp_call_ipl_cpu()
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Tue, 13 Mar 2012 15:25:08 +0000 (11:25 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 13 Mar 2012 15:26:23 +0000 (11:26 -0400)
commitc6da39f26cfe475704ec521723192e520e8f51b8
treeb06df4190e3dbab104e515d7372de0ddc35d9a62
parentf5bfa159d20c9a25c44a7f848c70d4156f78ba64
[S390] kernel: Pass correct stack for smp_call_ipl_cpu()

Currently pcpu_devices->panic_stack is passed to pcpu_delegate() in
smp_call_ipl_cpu(). This is wrong because pcpu_delegate() expects
the bottom (high address) of the stack and pcpu_devices->panic_stack
points to the top (low address). We now pass the bottom of the stack
which is pcpu_devices->panic_stack + PAGE_SIZE.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c