diff options
| author | Will Deacon <[email protected]> | 2015-08-06 16:54:38 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-12 09:59:00 +0000 |
| commit | 586b610e43a5ad5096640312fefa6ce931738c7d (patch) | |
| tree | c9b6165965eace65d0f5177845b8ce76183fddfb /lib/lockref.c | |
| parent | locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic ope... (diff) | |
| download | kernel-586b610e43a5ad5096640312fefa6ce931738c7d.tar.gz kernel-586b610e43a5ad5096640312fefa6ce931738c7d.zip | |
locking, asm-generic: Rework atomic-long.h to avoid bulk code duplication
We can use some (admittedly ugly) macros to generate the 32-bit and
64-bit based atomic_long implementations from the same code.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
