This is a note to let you know that I've just added the patch titled

    [S390] zcrypt: Fix check to look for facility bits 2 & 65

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     zcrypt-fix-check-to-look-for-facility-bits-2-65.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 53ec24b1e6c7118a127cf029a1519a2ce55268ec Mon Sep 17 00:00:00 2001
From: Felix Beck <[email protected]>
Date: Wed, 5 Jan 2011 12:46:44 +0100
Subject: [S390] zcrypt: Fix check to look for facility bits 2 & 65

From: Felix Beck <[email protected]>

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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/s390/crypto/ap_bus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/s390/crypto/ap_bus.c
+++ b/drivers/s390/crypto/ap_bus.c
@@ -154,7 +154,7 @@ static inline int ap_instructions_availa
  */
 static int ap_interrupts_available(void)
 {
-       return test_facility(1) && test_facility(2);
+       return test_facility(2) && test_facility(65);
 }
 
 /**


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.37/zcrypt-fix-check-to-look-for-facility-bits-2-65.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to