[PATCH] cciss: softirq handler needs to save interrupt flags

The softirq rq completion handler needs to save/restore interrupt flags
appropriately.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Jens Axboe and committed by Linus Torvalds d43da75f e8a82fd0

+3 -2
+3 -2
drivers/block/cciss.c
··· 2183 2183 { 2184 2184 CommandList_struct *cmd = rq->completion_data; 2185 2185 ctlr_info_t *h = hba[cmd->ctlr]; 2186 + unsigned long flags; 2186 2187 u64bit temp64; 2187 2188 int i, ddir; 2188 2189 ··· 2206 2205 printk("Done with %p\n", rq); 2207 2206 #endif /* CCISS_DEBUG */ 2208 2207 2209 - spin_lock_irq(&h->lock); 2208 + spin_lock_irqsave(&h->lock, flags); 2210 2209 end_that_request_last(rq, rq->errors); 2211 2210 cmd_free(h, cmd,1); 2212 - spin_unlock_irq(&h->lock); 2211 + spin_unlock_irqrestore(&h->lock, flags); 2213 2212 } 2214 2213 2215 2214 /* checks the status of the job and calls complete buffers to mark all