projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691dff7
)
use barrier() instead of mb() since it really is just memory
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Mar 2004 17:41:12 +0000
(17:41 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Mar 2004 17:41:12 +0000
(17:41 +0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index c41eb2c6cb58e33e2dd50daefdc49141b56a87f4..d0696911ce112e84b517c32647c79f48a1dea6a9 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-585,7
+585,7
@@
void comedi_buf_memcpy_to( comedi_async *async, unsigned int offset, const void
write_ptr = 0;
}
-
mb
();
+
barrier
();
}
void comedi_buf_memcpy_from(comedi_async *async, unsigned int offset,
@@
-597,7
+597,7
@@
void comedi_buf_memcpy_from(comedi_async *async, unsigned int offset,
if( read_ptr >= async->prealloc_bufsz )
read_ptr %= async->prealloc_bufsz;
-
mb
();
+
barrier
();
while( nbytes )
{
unsigned int block_size;