]> git.baikalelectronics.ru Git - 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)
commit516603dc5a58602c9dde3409c9e951bb40a23341
tree52c5c3bb66f38eae5cba19109cd5657d9526f4ea
parent3dda6645782dd1d285fadafdd6ed5565b2e0c13c
[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