diff options
author | Peter Zijlstra <[email protected]> | 2014-03-23 19:06:34 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-14 12:48:08 +0200 |
commit | d839bae4269aea46bff4133066a411cfba5c7c46 (patch) | |
tree | af4454c73ca7196041df6611d43642d60527a4e4 /fs/jbd/commit.c | |
parent | c9ebe21b204f95e3aba84ee91c8b9347d73806f1 (diff) |
locking,arch,m68k: 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 asm_op due to eor.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: [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