[S390] s390: clear high-order bits of registers after sam64
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 7 Dec 2009 11:44:42 +0000 (12:44 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 7 Dec 2009 11:45:10 +0000 (12:45 +0100)
commitcf87b7439ec81b9374e7772e44e9cb2eb9e57160
tree1001ae5555cd80cfd91c89f61a5e1f278ec42de0
parent6ec22f9b037fc0c2e00ddb7023fad279c365324d
[S390] s390: clear high-order bits of registers after sam64

When the kernel is IPLed without the CLEAR option and switches
to 64-bit, the high-order half of the registers might contain
random values.  This can cause addressing exceptions and the
kernel enters an interrupt loop.

Initialize the high-order half of the general purpose registers
with zeros after switching to 64-bit mode.

Cc: <stable@kernel.org>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head64.S