diff options
author | Will Deacon <will.deacon@arm.com> | 2015-08-06 18:54:38 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-12 11:59:00 +0200 |
commit | 586b610e43a5ad5096640312fefa6ce931738c7d (patch) | |
tree | c9b6165965eace65d0f5177845b8ce76183fddfb /include/asm-generic/hw_irq.h | |
parent | locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic ope... (diff) | |
download | linux-586b610e43a5ad5096640312fefa6ce931738c7d.tar.xz linux-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 <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman.Long@hp.com
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1438880084-18856-3-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/hw_irq.h')
0 files changed, 0 insertions, 0 deletions