From: Peter Zijlstra Date: Wed, 26 Mar 2014 16:59:04 +0000 (+0100) Subject: locking,arch,mn10300: Fold atomic_ops X-Git-Tag: fixes-against-v3.18-rc2~102^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e69a0ef76627005e3e83d0e086e6bb1d247bb65b;p=pandora-kernel.git locking,arch,mn10300: 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: David Howells Cc: Koichi Yasutake Cc: Linus Torvalds Cc: Paul E. McKenney Cc: linux-am33-list@redhat.com Link: http://lkml.kernel.org/r/20140508135852.605324173@infradead.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed