Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/smp/smp_call.c

    r05882233 re3306d04  
    246246         * messing up the preemption count).
    247247         */
    248         atomic_set(&call_info->pending, 1);
     248        atomic_store(&call_info->pending, 1);
    249249
    250250        /* Let initialization complete before continuing. */
     
    259259         */
    260260        memory_barrier();
    261         atomic_set(&call_info->pending, 0);
     261        atomic_store(&call_info->pending, 0);
    262262}
    263263
     
    271271                 */
    272272                memory_barrier();
    273         } while (atomic_get(&call_info->pending));
     273        } while (atomic_load(&call_info->pending));
    274274}
    275275
Note: See TracChangeset for help on using the changeset viewer.