Re: [PATCH 5/5] remove HAVE_ARCH_CMPXCHG

From: Nick Piggin
Date: Wed Sep 14 2005 - 12:31:25 EST


Roman Zippel wrote:
Hi,

On Thu, 15 Sep 2005, Nick Piggin wrote:


Is there any point in keeping this around?


Yes, for drivers which want to use it to synchronize with userspace.
Alternatively it could be changed into a Kconfig definition.


I think it already is. At least, I did grep for it and didn't
see anything.

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.

--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
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/