From: Peter Zijlstra Date: Sun, 23 Mar 2014 17:20:30 +0000 (+0100) Subject: locking,arch,ia64: Fold atomic_ops X-Git-Tag: omap-for-v3.19/prcm-cleanup~99^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08be2dab191431f23f5f98ba2db76513d0d853e7;p=pandora-kernel.git locking,arch,ia64: Fold atomic_ops Many of the atomic op implementations are the same except for one instruction; fold the lot into a few CPP macros and reduce LoC. This also prepares for easy addition of new ops. Signed-off-by: Peter Zijlstra Cc: Fenghua Yu Cc: Linus Torvalds Cc: Akinobu Mita Cc: Paul E. McKenney Cc: Tony Luck Cc: linux-ia64@vger.kernel.org Link: http://lkml.kernel.org/r/20140508135852.245224472@infradead.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed