Original commit message from CVS: - First pass at cleaning up the atomic mess - moved weird asm to datastructure that makes sense - this should also make the trasition to libatomic less painful