[PATCH 4/5] SMP01: possible CPU race when using byte arrays
daniel at gaisler.com
Thu Oct 31 14:27:31 UTC 2013
On 10/31/2013 03:17 PM, Sebastian Huber wrote:
> On 2013-10-31 14:58, Daniel Hellstrom wrote:
>> Switch to using 32-bit variable that works better on a
>> 32-bit CPU. This does not solve the general SMP case
>> though, would perhaps better to use an atomic set
> In case a CPU doesn't support atomic 8-bit load/store operations it insufficient for SMP.
> A proper fix would be to use atomic operations, which we don't support at the moment.
Agree. This is a temporary fix that is required for the LEON to run the test.
More information about the devel