diff options
author | Felix Beck <felix.beck@de.ibm.com> | 2011-01-05 06:46:44 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:46:52 -0500 |
commit | 53ec24b1e6c7118a127cf029a1519a2ce55268ec (patch) | |
tree | e23227eee46a3facb48eafb70b50e64c8e41de19 /drivers/s390/crypto | |
parent | 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5 (diff) |
[S390] zcrypt: Fix check to look for facility bits 2 & 65
Fix the check for ap interupts to look for facility bits 2 and 65.
Make sure that we only register interrupts for aps, if the machine
has ap interrupt support.
This patch is relevant only for the 2.6.37 stable series.
Cc: stable@kernel.org
Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r-- | drivers/s390/crypto/ap_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 8fd8c62455e9..a1ba52a09602 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c | |||
@@ -154,7 +154,7 @@ static inline int ap_instructions_available(void) | |||
154 | */ | 154 | */ |
155 | static int ap_interrupts_available(void) | 155 | static int ap_interrupts_available(void) |
156 | { | 156 | { |
157 | return test_facility(1) && test_facility(2); | 157 | return test_facility(2) && test_facility(65); |
158 | } | 158 | } |
159 | 159 | ||
160 | /** | 160 | /** |