lkml.org 
[lkml]   [2010]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Fix atomic64_add_unless return value convention
Date
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(-)



\
 
 \ /
  Last update: 2010-03-01 18:17    [W:1.969 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site