Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275509
b: refs/heads/master
c: 6ed5438
h: refs/heads/master
i:
  275507: a5c69f9
v: v3
  • Loading branch information
Jan Glauber authored and Martin Schwidefsky committed Nov 14, 2011
1 parent a32c134 commit 7532f3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfa1e7e1d49c6f5f0b00b2cb890b521e5c0dc7ea
refs/heads/master: 6ed54387dc470fc439cb154724a1ac81d251c126
7 changes: 5 additions & 2 deletions trunk/arch/s390/crypto/crypt_s390.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,12 @@ static inline int crypt_s390_func_available(int func,

if (facility_mask & CRYPT_S390_MSA && !test_facility(17))
return 0;
if (facility_mask & CRYPT_S390_MSA3 && !test_facility(76))

if (facility_mask & CRYPT_S390_MSA3 &&
(!test_facility(2) || !test_facility(76)))
return 0;
if (facility_mask & CRYPT_S390_MSA4 && !test_facility(77))
if (facility_mask & CRYPT_S390_MSA4 &&
(!test_facility(2) || !test_facility(77)))
return 0;

switch (func & CRYPT_S390_OP_MASK) {
Expand Down

0 comments on commit 7532f3b

Please sign in to comment.