From: Peter Zijlstra Date: Sun, 23 Mar 2014 18:06:34 +0000 (+0100) Subject: locking,arch,m68k: Fold atomic_ops X-Git-Tag: fixes-against-v3.18-rc2~102^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d839bae4269aea46bff4133066a411cfba5c7c46;p=pandora-kernel.git locking,arch,m68k: 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. Requires asm_op due to eor. Signed-off-by: Peter Zijlstra Acked-by: Geert Uytterhoeven Cc: Linus Torvalds Cc: Paul E. McKenney Cc: linux-m68k@lists.linux-m68k.org Link: http://lkml.kernel.org/r/20140509091646.GO30445@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed