Re: write_unlock: replace clear_bit with byte store

David Mosberger
2005-04-29T15:28:50Z

>>>>> On Fri, 29 Apr 2005 08:19:20 -0700 (PDT), Christoph Lameter <clameter@engr.sgi.com> said:

Christoph> On Fri, 29 Apr 2005, David Mosberger wrote:
>> Let's not reintroduce in-line asm, please?

Christoph> How do I do a nta store without inline asm?

You add a new intrinsic?

Christoph> There is already lots of inline asm in spinlock.h.

spinlock.h is special because it performs non-standard calls to the
out-of-line spinlock contention-handler, but those places are enclosed
inside ASM_SUPPORTED.

--david