Messages in this thread | | | Date | Mon, 13 Aug 2007 06:55:01 -0400 | From | Chris Snook <> | Subject | [PATCH 0/23] make atomic_read() and atomic_set() behavior consistent across all architectures |
| |
By popular demand, I've redone the patchset to include volatile casts in atomic_set as well. I've also converted the macros to inline functions, to help catch type mismatches at compile time.
This will do weird things on ia64 without Andreas Schwab's fix:
http://lkml.org/lkml/2007/8/10/410
Notably absent is a patch for powerpc. I expect Segher Boessenkool's assembly implementation should suffice there:
http://lkml.org/lkml/2007/8/10/470
Thanks to all who commented on previous incarnations.
-- Chris Snook - 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/
| |