From 21ad7409934e04747019a62ba76bc93c43617c41 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 16 Jan 2001 19:00:04 +0000 Subject: [PATCH] fix spinlock defs --- include/linux/comedidev.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 73ca1644..a40207c0 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -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 */ -- 2.26.2