| Date | Thu, 8 May 2014 19:31:42 +0100 | From | Will Deacon <> | Subject | Re: [PATCH 05/20] arch,arm64: Fold atomic_ops |
| |
On Thu, May 08, 2014 at 02:58:45PM +0100, Peter Zijlstra wrote: > 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 the asm_op due to eor. > > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Chen Gang <gang.chen@asianux.com> > Cc: Linus Torvalds <torvalds@linux-foundation.org> > Cc: Russell King <rmk+kernel@arm.linux.org.uk> > Cc: Will Deacon <will.deacon@arm.com> > Signed-off-by: Peter Zijlstra <peterz@infradead.org> > --- > arch/arm64/include/asm/atomic.h | 213 ++++++++++++++++------------------------ > 1 file changed, 88 insertions(+), 125 deletions(-)
Acked-by: Will Deacon <will.deacon@arm.com>
Will
|