aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2014-04-09 21:51:29 +0200
committerIngo Molnar <[email protected]>2014-08-14 12:48:05 +0200
commitd325209b6000dcd13404ee946d2292e15a56718c (patch)
tree9adc93bd2a6a2b2f69c2b2034603c1c619106d4a /fs/jbd/commit.c
parent92ba1f530b4f90db78eb45f4b6598e75939146bd (diff)
locking,arch,avr32: 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. Requires the asm_op because of eor. AVR32 is a bit special in that its ADD/SUB instructions are not symmetric. Its SUB instruction allows for an 21bit immediate. Signed-off-by: Peter Zijlstra <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul E. McKenney <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions