projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7497a
)
changed declaration of bufinfo spinlock to static. This doesn't actually matter,
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 5 Jul 2001 16:01:18 +0000
(16:01 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 5 Jul 2001 16:01:18 +0000
(16:01 +0000)
since it is only there to prevent interrupts, but makes the code look less buggy.
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index bf39580052cd218ad234b2cb701d101bf4f6f5d3..fcef9945a7f6d5d699c9572e5fa9424dfaa91d83 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-476,7
+476,7
@@
static int do_bufinfo_ioctl(comedi_device *dev,void *arg)
comedi_bufinfo bi;
comedi_subdevice *s;
comedi_async *async;
- spinlock_t bufinfo_lock = SPIN_LOCK_UNLOCKED;
+ s
tatic s
pinlock_t bufinfo_lock = SPIN_LOCK_UNLOCKED;
unsigned long irq_flags;
int m;