projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad7353
)
make subdev_flags and runflags volatile since they can be modified
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Feb 2003 21:34:14 +0000
(21:34 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Feb 2003 21:34:14 +0000
(21:34 +0000)
in interrupt (comedi_event())
include/linux/comedidev.h
patch
|
blob
|
history
diff --git
a/include/linux/comedidev.h
b/include/linux/comedidev.h
index 038d04868373a6c7864f60ec32223835c307a655..3bff04306e80973f93553c5d49ec318461dca2bb 100644
(file)
--- a/
include/linux/comedidev.h
+++ b/
include/linux/comedidev.h
@@
-96,7
+96,7
@@
typedef struct comedi_lrange_struct comedi_lrange;
struct comedi_subdevice_struct{
int type;
int n_chan;
- int subdev_flags;
+
volatile
int subdev_flags;
int len_chanlist; /* maximum length of channel/gain list */
void *private;
@@
-105,7
+105,7
@@
struct comedi_subdevice_struct{
void *lock;
void *busy;
- unsigned int runflags;
+
volatile
unsigned int runflags;
int io_bits;