Re: [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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/