Hi, i found now alsa-lib includes iatomic.h defining atomic operations for each arch. good, that's the right way. however, there is one more stuff from linux header files: rmb() in pcm_meter.c. this stuff should be copied into iatomic.h, too.
also, it would be better to define atomic*() and rmb() replaced with normal operations when no matching architecture is found (preferably with warning message), e.g. for compiling alsa-lib for s390 or an architecture which will be newly added in future. Takashi _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel