diff options
author | Peter Zijlstra <[email protected]> | 2014-03-23 16:38:18 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-14 12:48:04 +0200 |
commit | aee9a55452f0371258e18b41649ce650ff344090 (patch) | |
tree | 725e8ea965ce34c5cbe38c96a09079e275de76cc /fs/jbd/commit.c | |
parent | f7d11e93ee97a37da1947b7c4e1794705a6f360c (diff) |
locking,arch,arm: 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.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Chen Gang <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Russell King <[email protected]>
Cc: Albin Tonnerre <[email protected]>
Cc: Victor Kamensky <[email protected]>
Cc: Catalin Marinas <[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