diff options
author | Will Deacon <will.deacon@arm.com> | 2015-08-06 18:54:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-12 11:59:10 +0200 |
commit | 0ca326de7aa9cb253db9c1a3eb3f0487c8dbf912 (patch) | |
tree | 2964ef144f8b873c9af610577b4e3c92c0af9ac8 /arch/mn10300 | |
parent | locking, include/llist: Use linux/atomic.h instead of asm/cmpxchg.h (diff) | |
download | linux-0ca326de7aa9cb253db9c1a3eb3f0487c8dbf912.tar.xz linux-0ca326de7aa9cb253db9c1a3eb3f0487c8dbf912.zip |
locking, ARM, atomics: Define our SMP atomics in terms of _relaxed() operations
By defining our SMP atomics in terms of relaxed operations, we gain
a small reduction in code size and have acquire/release/fence variants
generated automatically by the core 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-9-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions