]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] crypto: avoid MSA3 and MSA4 instructions in ESA mode
authorJan Glauber <jang@linux.vnet.ibm.com>
Fri, 11 Nov 2011 16:18:54 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:19:01 +0000 (17:19 +0100)
commit65c9cf707b8c2b8ae910f05086d633678df18405
tree6a4e8f969e64e38acdfc870ab54b98582983a8c4
parenta3c7892c66c7f3cb6b3cc2b50b932799f821290a
[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