Description of problem: This patch adds atomic operation for super-H(sh3,sh4) architecture. This is forward ported patch for version alsa-lib-1.0.15-1 getting from http://www.sh-linux.org/ . This patch is very similar to linux kernel's atomic operation which is in linux/include/asm-sh/atomic-grb.h . That was added recently to kernel tree. But the origin of this patch is very old because it's against alsa-lib-1.0.3a when it first appeared. It's one of lost techology ;-). Could you contact upstream and merge it ?
Created attachment 294909 [details] alsa-lib-1.0.3a-sh-linux.patch
Filled as https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3789