From af095dd60bdc52b11c186c3151e8e38d6faa094c Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 26 Mar 2014 18:11:31 +0100 Subject: [PATCH] locking,arch,powerpc: 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. Requires asm_op because PPC asm is weird :-) Signed-off-by: Peter Zijlstra Cc: Benjamin Herrenschmidt Cc: Linus Torvalds Cc: Paul E. McKenney Cc: Paul Mackerras Cc: Mahesh Salgaonkar Cc: Paul Gortmaker Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/20140508135852.713980957@infradead.org Signed-off-by: Ingo Molnar --- Reading git-format-patch failed