Commit 92994332 authored by Johannes Wiesboeck's avatar Johannes Wiesboeck Committed by Oliver Horst
Browse files

Fixed barrier synchronization.

parent 3cd4d108
......@@ -59,7 +59,7 @@ void vHalCpuBarrier()
* cores again. */
while ( 1 )
{
if ( atomic_load( &ulCpuBarrierMask1 ) ^ mask2 != ( AMP_CORE_MASK_U64 ) )
if ( atomic_load( &ulCpuBarrierMask1 ) ^ mask2 != 0 )
{
vHalCpuWaitForEvent();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment