summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-26 18:12:45 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:12 +0200
commitc6470150dff9aff682063890c9b8eac71b695def (patch)
tree8c38eda25c4e350e9d0dd9e04818c3b7b2d7f9a7 /arch/xtensa
parentaf095dd60bdc52b11c186c3151e8e38d6faa094c (diff)
downloadlinux-c6470150dff9aff682063890c9b8eac71b695def.tar.bz2
locking,arch,sh: 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 <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-sh@vger.kernel.org Link: http://lkml.kernel.org/r/20140508135852.770036493@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions