Maciej W. Rozycki wrote: > On Mon, 28 May 2001, Kevin D. Kissell wrote: > > >> Use a global variable testable by the inline code? > > > With both variants inlined? Now that's really ugly. > > >>> Are vr41xx plain ISA I or crippled ISA II+ CPUs? >> >> Actually, they are crippled MIPS III+ 64-bit CPUs > > > Then an ll/sc and lld/scd emulation seems to be most appropriate here. I > don't think we want to add _test_and_set() to mips64*-linux. All the cases I've seen have been for 32-bit kernels. A 64-bit PDA kernel seems like a wee tiny bit of overkill -- Joe deBlaquiere Red Hat, Inc. 307 Wynn Drive Huntsville AL, 35805 voice : (256)-704-9200 fax : (256)-837-3839