diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 19:02:22 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:08 +0200 |
commit | c9ebe21b204f95e3aba84ee91c8b9347d73806f1 (patch) | |
tree | abf61d62414e8578e381da5bbd7875abeda82781 /mm/nobootmem.c | |
parent | 08be2dab191431f23f5f98ba2db76513d0d853e7 (diff) | |
download | op-kernel-dev-c9ebe21b204f95e3aba84ee91c8b9347d73806f1.zip op-kernel-dev-c9ebe21b204f95e3aba84ee91c8b9347d73806f1.tar.gz |
locking,arch,m32r: 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: Hirokazu Takata <takata@linux-m32r.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-m32r-ja@ml.linux-m32r.org
Cc: linux-m32r@ml.linux-m32r.org
Link: http://lkml.kernel.org/r/20140508135852.318635136@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions