fix spinlock defs
authorDavid Schleef <ds@schleef.org>
Tue, 16 Jan 2001 19:00:04 +0000 (19:00 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 16 Jan 2001 19:00:04 +0000 (19:00 +0000)
include/linux/comedidev.h

index 73ca1644dc97279e717fcb58fd2bc48961784086..a40207c0322341861646a01982c24146c07bf6af 100644 (file)
@@ -215,6 +215,9 @@ int do_pack(unsigned int *bits,comedi_trig *it);
 #define comedi_change_irq_flags(a,b,c) /* */
 #define comedi_free_irq                        free_irq
 
+#define comedi_spin_lock_irqsave(x, flags)     spin_lock_irqsave(x, flags)
+#define comedi_spin_unlock_irqrestore(x, flags)        spin_unlock_irqrestore(x, flags)
+
 #endif
 
 
@@ -288,7 +291,7 @@ extern struct symbol_table comedi_syms;
 #endif
 
 
-#endif /* _COMEDI_MODULE_H */
+#endif /* _COMEDIDEV_H */