From: Luca Barbieri Date: Mon, 1 Mar 2010 18:55:47 +0000 (+0100) Subject: lib: Fix atomic64_add_unless return value convention X-Git-Tag: v2.6.35-rc1~518^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97577896f6b9c056fa0a5e9f6a608110cb3dcd33;p=pandora-kernel.git lib: Fix atomic64_add_unless return value convention atomic64_add_unless must return 1 if it perfomed the add and 0 otherwise. The generic implementation did the opposite thing. Reported-by: H. Peter Anvin Confirmed-by: Paul Mackerras Signed-off-by: Luca Barbieri LKML-Reference: <1267469749-11878-4-git-send-email-luca@luca-barbieri.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed