]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[S390] crypto: avoid MSA3 and MSA4 instructions in ESA mode
authorJan Glauber <jang@linux.vnet.ibm.com>
Mon, 14 Nov 2011 10:19:07 +0000 (11:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Nov 2011 10:19:09 +0000 (11:19 +0100)
commit6ed54387dc470fc439cb154724a1ac81d251c126
tree52c5c3bb66f38eae5cba19109cd5657d9526f4ea
parentcfa1e7e1d49c6f5f0b00b2cb890b521e5c0dc7ea
[S390] crypto: avoid MSA3 and MSA4 instructions in ESA mode

MSA3 and MSA4 instructions are only available under CONFIG_64BIT.
Bail out before using any of these instructions if the kernel is
running in 31 bit mode.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/crypt_s390.h