From: Aoi Shinkai Date: Wed, 10 Jun 2009 16:15:42 +0000 (+0000) Subject: sh: Fix sh4a llsc-based cmpxchg() X-Git-Tag: v2.6.31-rc1~392^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c7c99788631bab177bd51e15e893be4689bb085;p=pandora-kernel.git sh: Fix sh4a llsc-based cmpxchg() This fixes up a typo in the ll/sc based cmpxchg code which apparently wasn't getting a lot of testing due to the swapped old/new pair. With that fixed up, the ll/sc code also starts using it and provides its own atomic_add_unless(). Signed-off-by: Aoi Shinkai Signed-off-by: Paul Mundt --- Reading git-diff-tree failed