From: Peter Zijlstra Date: Sun, 23 Mar 2014 18:02:22 +0000 (+0100) Subject: locking,arch,m32r: Fold atomic_ops X-Git-Tag: fixes-against-v3.18-rc2~102^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ebe21b204f95e3aba84ee91c8b9347d73806f1;p=pandora-kernel.git locking,arch,m32r: 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: Hirokazu Takata Cc: Linus Torvalds Cc: Paul E. McKenney Cc: linux-m32r-ja@ml.linux-m32r.org Cc: linux-m32r@ml.linux-m32r.org Link: http://lkml.kernel.org/r/20140508135852.318635136@infradead.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed