Re: [PATCH 5/5] remove HAVE_ARCH_CMPXCHG

From: Russell King
Date: Thu Sep 15 2005 - 02:11:12 EST


On Wed, Sep 14, 2005 at 03:26:10PM -0700, David S. Miller wrote:
> From: Russell King <rmk+lkml@xxxxxxxxxxxxxxxx>
> Date: Wed, 14 Sep 2005 23:03:53 +0100
>
> > What business has userspace got of telling whether cmpxchg works on
> > an architecture by looking at kernel headers?
>
> Russell, please don't fly off the handle like this.

Sigh, I wasn't. I was making a valid point. Maybe if you read the
bit I quoted you'd have realised that, which was:

> I think userspace synchronization may be quite a valid use of
^^^^^^^^^
> atomic cmpxchg, but Kconfig is a far better place to do it than
> testing HAVE_ARCH_CMPXCHG.

But maybe I'm not capable of interpreting the above english? To
me at least it's definitely talking about user space, not kernel
space.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/