From: Peter Zijlstra Date: Wed, 23 Apr 2014 14:12:30 +0000 (+0200) Subject: locking,arch: Rewrite generic atomic support X-Git-Tag: fixes-against-v3.18-rc2~102^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560cb12a4080a48b84da8b96878cafbd193c4d64;p=pandora-kernel.git locking,arch: Rewrite generic atomic support Rewrite generic atomic support to only require cmpxchg(), generate all other primitives from that. Furthermore reduce the endless repetition for all these primitives to a few CPP macros. This way we get more for less lines. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20140508135852.940119622@infradead.org Cc: Arnd Bergmann Cc: David Howells Cc: Paul E. McKenney Cc: David S. Miller Cc: Linus Torvalds Cc: linux-arch@vger.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed