The attached change enables future support using the kernel assisted atomic support. It's a bit of a fudge since the libcall routines are not lock free, but everything appears to work. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.anglin@bell.net