• Russell King's avatar
    [ARM] Update atomic.h · 135247bf
    Russell King authored
    This re-jigs atomic.h by providing atomic_add_return and
    atomic_sub_return as other architectures do.  This allows us to
    implement the atomic ops that test the new value without having
    to write the underlying atomic operation in various forms.
    135247bf
atomic.h 4.12 KB