[EMAIL PROTECTED] wrote:
Is it me or it seems it is not possible anymore to use asm/atomic.h in non-kernel code ? Thanks.
The atomic functions, as with any internal kernel data structures, were never intended to be used in userspace. In particular, the atomic functions depend on config settings like CONFIG_SMP in order to actually be atomic, and that's not guaranteed in userspace.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/