Messages in this thread | | | Date | Thu, 15 Sep 2005 08:10:09 +0100 | From | Russell King <> | Subject | Re: [PATCH 5/5] remove HAVE_ARCH_CMPXCHG |
| |
On Wed, Sep 14, 2005 at 03:26:10PM -0700, David S. Miller wrote: > From: Russell King <rmk+lkml@arm.linux.org.uk> > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |