patch-2.0.35 linux/drivers/block/paride/spinlock.h

Next file: linux/drivers/block/raid0.c
Previous file: linux/drivers/block/paride/setup.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.34/linux/drivers/block/paride/spinlock.h linux/drivers/block/paride/spinlock.h
@@ -0,0 +1,6 @@
+/* spinlock.h -- dummy version for PARIDE-2.0.34 */
+
+#define spin_lock_irqsave(a,b) 		{ save_flags(b); cli(); }
+#define spin_unlock_irqrestore(a,b) 	restore_flags(b);
+
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov