summaryrefslogtreecommitdiff
path: root/crypto/dh.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-10-24 13:22:50 +0300
committerIngo Molnar <mingo@kernel.org>2017-10-24 14:17:34 +0300
commit5a8897cc7631fa544d079c443800f4420d1b173f (patch)
tree85ebb227577173a8744d47fb220379651aa4235b /crypto/dh.c
parent59ecbbe7b31cd2d86ff9a9f461a00f7e7533aedc (diff)
downloadlinux-5a8897cc7631fa544d079c443800f4420d1b173f.tar.xz
locking/atomics/alpha: Add smp_read_barrier_depends() to _release()/_relaxed() atomics
As part of the fight against smp_read_barrier_depends(), we require dependency ordering to be preserved when a dependency is headed by a load performed using an atomic operation. This patch adds smp_read_barrier_depends() to the _release() and _relaxed() atomics on alpha, which otherwise lack anything to enforce dependency ordering. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1508840570-22169-6-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions