[PATCH v2] sh: Fix gUSA sequence in atomic function

Carlos O'Donell carlos@systemhalted.org
Thu Jun 21 14:08:00 GMT 2012


On Thu, Jun 21, 2012 at 3:14 AM, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> Hi,
>
> I'd like to commit the patch below based with Iwamatsu-san's
> updated patch.  OK?
>
> Regards,
>        kaz
> --
>        * sysdeps/unix/sysv/linux/sh/bits/atomic.h
>        (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
>        (__arch_compare_and_exchange_val_16_acq): Likewise.
>        (__arch_compare_and_exchange_val_32_acq): Likewise.
>        (atomic_exchange_and_add): Fix gUSA sequence.
>        (atomic_add): Likewise.
>        (atomic_add_negative): Likewise.
>        (atomic_add_zero): Likewise.
>        (atomic_bit_test_set): Likewise.

What is the risk to 2.16 if this patch is *not* committed?

Cheers,
Carlos.



More information about the Libc-alpha mailing list