microblaze: Reversed logic in futex cmpxchg
authorMeyer, Kirk <Kirk.Meyer@sencore.com>
Thu, 23 May 2013 17:06:57 +0000 (17:06 +0000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 May 2013 10:29:35 +0000 (12:29 +0200)
commitf6a12a7d0b1a70e969ae4f6d7c5201cdaf6edde0
tree657c066fb2355c87cf5adf9bad68a9536241c76c
parentb5dd0bb43e209455fb83161d4c8774ce2c23f6e2
microblaze: Reversed logic in futex cmpxchg

futex_atomic_cmpxchg_inatomic exchanged if the values were
unequal rather than equal. This caused incorrect behavior
of robust futexes.

Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/futex.h