[IA64] fix bug in ia64 __mutex_fastpath_trylock
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Sat, 8 Apr 2006 00:12:54 +0000 (17:12 -0700)
committerTony Luck <tony.luck@intel.com>
Sat, 8 Apr 2006 05:39:49 +0000 (22:39 -0700)
commitcfab9d0e1da8e08a39759d0fc3bf5e40f0ac2d55
treee7dd4bbb97374b758bcb169b635b997c12893565
parent0681226661754a99de711cda2c2bd12ff9cd2c3b
[IA64] fix bug in ia64 __mutex_fastpath_trylock

The parenthesis around "likely" used in ia64 __mutex_fastpath_trylock
is incorrect, and it leads to broken mutex_trylock.  Here is the
patch that fixed the bug.  I removed the likely altogether because
there is no branch and gcc does a reasonable job at predicating the
return value.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/mutex.h