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