From: Frank Mori Hess Date: Sun, 21 Mar 2004 17:41:12 +0000 (+0000) Subject: use barrier() instead of mb() since it really is just memory X-Git-Tag: r0_7_69~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abb1a7ec1ec792afb3c8b75d988acb55a5337286;p=comedi.git use barrier() instead of mb() since it really is just memory --- diff --git a/comedi/drivers.c b/comedi/drivers.c index c41eb2c6..d0696911 100644 --- 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;