From: Peter Zijlstra Date: Wed, 26 Mar 2014 16:56:43 +0000 (+0100) Subject: locking,arch,mips: Fold atomic_ops X-Git-Tag: fixes-against-v3.18-rc2~102^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef31563e950c60bb41b97c2b61c32de874f3c949;p=pandora-kernel.git locking,arch,mips: 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: Linus Torvalds Cc: Maciej W. Rozycki Cc: Paul E. McKenney Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Link: http://lkml.kernel.org/r/20140508135852.521548500@infradead.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed