diff options
author | Peter Zijlstra <[email protected]> | 2014-03-23 18:19:25 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-14 12:48:06 +0200 |
commit | 7179e30ef66a5bae91592ae7fbacf3df6c627dd6 (patch) | |
tree | 33a2cee5aeeb041cfa6a83be33b21a2453bfc291 /fs/jbd/commit.c | |
parent | d325209b6000dcd13404ee946d2292e15a56718c (diff) |
locking,arch,cris: 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 <[email protected]>
Acked-by: Jesper Nilsson <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mikael Starvik <[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