[PATCH] move xchg/cmpxchg to atomic.h

David S. Miller davem@redhat.com
Tue, 2 Jan 2001 03:21:24 -0800


   Date: Tue, 2 Jan 2001 11:22:42 +0000
   From: Matthew Wilcox <matthew@wil.cx>

   We really can't.  We _only_ have load-and-zero.  And it has to be
   16-byte aligned.  xchg() is just not something the CPU implements.

Oh bugger... you do have real problems.

Later,
David S. Miller
davem@redhat.com