uatomic_generic.h   uatomic_generic.h 
skipping to change at line 158 skipping to change at line 158
return old; return old;
} }
#endif #endif
case 4: case 4:
{ {
unsigned int old; unsigned int old;
do { do {
old = uatomic_read((unsigned int *)addr); old = uatomic_read((unsigned int *)addr);
while (!__sync_bool_compare_and_swap_4(addr, old, val)); } while (!__sync_bool_compare_and_swap_4(addr, old, val));
} return old; return old;
} }
#if (BITS_PER_LONG == 64) #if (BITS_PER_LONG == 64)
case 8: case 8:
{ {
unsigned long old; unsigned long old;
do { do {
old = uatomic_read((unsigned long *)addr); old = uatomic_read((unsigned long *)addr);
} while (!__sync_bool_compare_and_swap_8(addr, old, val)); } while (!__sync_bool_compare_and_swap_8(addr, old, val));
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/