diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-15 17:10:16 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-17 01:03:27 +0000 |
commit | 61dcc6f4d9ed5db71f4f0be9026bdd09f1a7dc06 (patch) | |
tree | eb28cb6fe958e7f527ac03d58b7a6e80afe425f2 /arch/arm/common/vic.c | |
parent | 9e34682026572f07328208f7d2b2c611d2001844 (diff) |
[MIPS] RTLX: Harden against compiler reordering and optimization.
RTLX communication is based on lock-free shared memory buffers. It
happened to be working by luck so far but relies on the optimizer doing
certain optimizations but no reordering.
Fixed by inserting proper barriers in rtlx_read and rtlx_write, and careful
pointer dereferencing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/arm/common/vic.c')
0 files changed, 0 insertions, 0 deletions