Christoph Hellwig wrote:
The structure is in ioremaped memory so you must
use reads/writes to access them instead.
Yes, using read/write eliminates the compiler optimization
and makes the driver portable to other architectures.
That change is much more extensive, and it may be
a while before I
On Wed, Sep 07, 2005 at 12:02:23PM -0500, Paul Fulghum wrote:
> - u16 count; /* buffer size/data count */
> - u16 status; /* Control/status field */
> - u16 rcc;/* character count field */
> + volatile u16 count; /* buffer size/data count */
> + volatile u16
[patch] synclink.c compiler optimization fix
From: Paul Fulghum <[EMAIL PROTECTED]>
Make some fields of DMA descriptor volatile to
prevent compiler optimizations.
Signed-off-by: Paul Fulghum <[EMAIL PROTECTED]>
--- linux-2.6.13/drivers/char/synclink.c2005-09-07 11:43:56.0
-0500
3 matches
Mail list logo