zcrypt: Fix check to look for facility bits 2 & 65
authorFelix Beck <felix.beck@de.ibm.com>
Wed, 5 Jan 2011 11:46:44 +0000 (12:46 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:57 +0000 (15:13 -0800)
commit1db40aa0b40fc685f351f57c1a6889dc39d206ab
tree007bcaedfe4073fcc5a4850589bc73a6d92a9eb9
parent896f4c0998645498ce41aa0fa617444063ac5701
zcrypt: Fix check to look for facility bits 2 & 65

commit 53ec24b1e6c7118a127cf029a1519a2ce55268ec upstream.

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.

Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/s390/crypto/ap_bus.c