From: Zoltan Menyhart Date: Fri, 13 Jan 2006 16:25:23 +0000 (+0100) Subject: [IA64] Fix bug in ia64 specific down() function X-Git-Tag: v2.6.16-rc2~258^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b16bfbf8f8013fefb49592d030ff87651ab48cb;p=pandora-kernel.git [IA64] Fix bug in ia64 specific down() function Chen, Kenneth W wrote: > The memory order semantics for include/asm-ia64/semaphore.h:down() > doesn't look right. It is using atomic_dec_return, which eventually > translate into ia64_fetch_and_add() that uses release semantics. > Shouldn't it use acquire semantics? Use ia64_fetchadd() instead of atomic_dec_return() Acked-by: Ken Chen Signed-off-by: Tony Luck --- Reading git-diff-tree failed