public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix atomic64_add_unless return value convention
@ 2010-03-01 17:14 Luca Barbieri
  2010-03-01 17:14 ` [PATCH 1/3] lib: fix atomic64_add_unless test Luca Barbieri
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Luca Barbieri @ 2010-03-01 17:14 UTC (permalink / raw)
  To: hpa; +Cc: mingo, a.p.zijlstra, paulus, linux-kernel, Luca Barbieri

Return values 0 and 1 were swapped both in the generic implementation and
my x86-32 one.

The x86-32 and atomic64_test.c patches should probably be squashed in the
appropriate commits in tip/x86/atomic

Luca Barbieri (3):
  lib: fix atomic64_add_unless test
  x86: fix atomic64_add_unless return value convention
  lib: fix atomic64_add_unless return value convention

 arch/x86/lib/atomic64_386_32.S |    4 ++--
 arch/x86/lib/atomic64_cx8_32.S |    4 ++--
 lib/atomic64.c                 |    4 ++--
 lib/atomic64_test.c            |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-01 21:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 17:14 [PATCH 0/3] Fix atomic64_add_unless return value convention Luca Barbieri
2010-03-01 17:14 ` [PATCH 1/3] lib: fix atomic64_add_unless test Luca Barbieri
2010-03-01 17:14 ` [PATCH 2/3] x86: fix atomic64_add_unless return value convention Luca Barbieri
2010-03-01 17:15 ` [PATCH 3/3] lib: " Luca Barbieri
2010-03-01 21:26   ` Paul Mackerras
2010-03-01 18:25 ` [PATCH 0/3] Fix " H. Peter Anvin
2010-03-01 18:57   ` Luca Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox