aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-23 19:08:25 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:09 +0200
commitd6dfe2509da935a15583cace7cd3837b1e8addef (patch)
treed36ac9c387b35d26114fabfaf5dd3dcff4f38112 /samples
parentlocking,arch,m68k: Fold atomic_ops (diff)
downloadlinux-dev-d6dfe2509da935a15583cace7cd3837b1e8addef.tar.xz
linux-dev-d6dfe2509da935a15583cace7cd3837b1e8addef.zip
locking,arch,metag: 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> Acked-by: James Hogan <james.hogan@imgtec.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-metag@vger.kernel.org Link: http://lkml.kernel.org/r/20140508135852.453864110@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions