diff options
Diffstat (limited to 'arch/s390/crypto/crypt_s390.h')
| -rw-r--r-- | arch/s390/crypto/crypt_s390.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/crypto/crypt_s390.h b/arch/s390/crypto/crypt_s390.h index 0ef9829f2ad6..7ee9a1b4ad9f 100644 --- a/arch/s390/crypto/crypt_s390.h +++ b/arch/s390/crypto/crypt_s390.h | |||
| @@ -297,7 +297,7 @@ static inline int crypt_s390_func_available(int func) | |||
| 297 | int ret; | 297 | int ret; |
| 298 | 298 | ||
| 299 | /* check if CPACF facility (bit 17) is available */ | 299 | /* check if CPACF facility (bit 17) is available */ |
| 300 | if (!(stfl() & 1ULL << (31 - 17))) | 300 | if (!test_facility(17)) |
| 301 | return 0; | 301 | return 0; |
| 302 | 302 | ||
| 303 | switch (func & CRYPT_S390_OP_MASK) { | 303 | switch (func & CRYPT_S390_OP_MASK) { |
