s390: fix machine check handling
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 28 Nov 2014 14:40:57 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 1 Dec 2014 10:06:55 +0000 (11:06 +0100)
commit2cb4a18262fd0108cb8abd875710c59d0aa66f1d
tree7312af84b255c04028d95ada295bb1d8711d87ff
parent009d0431c3914de64666bec0d350e54fdd59df6a
s390: fix machine check handling

Commit eb7e7d76 "s390: Replace __get_cpu_var uses" broke machine check
handling.

We copy machine check information from per-cpu to a stack variable for
local processing. Next we should zap the per-cpu variable, not the
stack variable.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/nmi.c