Further digging led me to the following entry in the ChangeLog file in libatomic_ops-7.2alpha4[1]:
[1] from http://www.hpl.hp.com/research/linux/atomic_ops/download.php4 2009-09-01 Hans Boehm <hans.bo...@hp.com> (Really mostly Patrick Marlier) * src/atomic_ops/sysdeps/gcc/sparc.h (AO_test_and_set_full): Use AO_TS_VAL_t for "oldval" (for 64-bit support). The change shows that no casting is needed, just using the right type. HTH
signature.asc
Description: Digital signature