[PATCH] make drivers/block/ps2esdi.c compile (2.4.4)

From: Rasmus Andersen (rasmus@jaquet.dk)
Date: Sun May 20 2001 - 13:39:20 EST


Hi.

The following trivial patch against 2.4.4(-ac11) makes ps2esdi compile.

--- linux-244-ac10-clean/drivers/block/ps2esdi.c Sat May 19 21:06:29 2001
+++ linux-244-ac10/drivers/block/ps2esdi.c Sun May 20 14:47:04 2001
@@ -953,10 +953,10 @@
                 break;
         }
         if(ending != -1) {
- spin_lock_irqsave(io_request_lock, flags);
+ spin_lock_irqsave(&io_request_lock, flags);
                 end_request(ending);
                 do_ps2esdi_request(BLK_DEFAULT_QUEUE(MAJOR_NR));
- spin_unlock_irqrestore(io_request_lock, flags);
+ spin_unlock_irqrestore(&io_request_lock, flags);
         }
 } /* handle interrupts */
 

-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

The difference between theory and practice is that, in theory, there is no difference between theory and practice. -- Anonymous - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:37 EST