From: Peter Zijlstra Date: Sun, 23 Mar 2014 18:08:25 +0000 (+0100) Subject: locking,arch,metag: Fold atomic_ops X-Git-Tag: omap-for-v3.19/prcm-cleanup~99^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6dfe2509da935a15583cace7cd3837b1e8addef;p=pandora-kernel.git locking,arch,metag: 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 Acked-by: James Hogan Cc: Linus Torvalds Cc: linux-metag@vger.kernel.org Link: http://lkml.kernel.org/r/20140508135852.453864110@infradead.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed