Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cea9ea67e9927da18af89b49bd949a8d65ba1b15
Commit:     cea9ea67e9927da18af89b49bd949a8d65ba1b15
Parent:     ce29d72cc737df3573854a4719f00385adf1c9a6
Author:     Hoang-Nam Nguyen <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 19 22:50:10 2007 +0100
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Mon Jan 22 17:03:55 2007 -0800

    IB/ehca: Fix mismatched spin_unlock in irq handler
    
    The lock is taken with _irqsave and hence must be released with
    _irqrestore on all paths.
    
    Signed-off-by Hoang-Nam Nguyen <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/hw/ehca/ehca_irq.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c 
b/drivers/infiniband/hw/ehca/ehca_irq.c
index e7209af..c069be8 100644
--- a/drivers/infiniband/hw/ehca/ehca_irq.c
+++ b/drivers/infiniband/hw/ehca/ehca_irq.c
@@ -440,7 +440,8 @@ void ehca_tasklet_eq(unsigned long data)
                                        cq = idr_find(&ehca_cq_idr, token);
 
                                        if (cq == NULL) {
-                                               spin_unlock(&ehca_cq_idr_lock);
+                                               
spin_unlock_irqrestore(&ehca_cq_idr_lock,
+                                                                      flags);
                                                break;
                                        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to