summaryrefslogtreecommitdiffstats
path: root/crypto/authenc.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2012-06-22 19:48:56 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-27 14:42:07 +0800
commit14a8e29cc2012394d3e886b11402eabd49a4d609 (patch)
tree9852a7f7c4674b1331c7e2f87a47d5119600a0a9 /crypto/authenc.c
parenta8ea07c21d40cf17dd9cbe3cbf87d477b26c354f (diff)
downloadblackbird-op-linux-14a8e29cc2012394d3e886b11402eabd49a4d609.tar.gz
blackbird-op-linux-14a8e29cc2012394d3e886b11402eabd49a4d609.zip
crypto: caam - consolidate memory barriers from job ring en/dequeue
Memory barriers are implied by the i/o register write implementation (at least on Power). So we can remove the redundant wmb() in caam_jr_enqueue, and, in dequeue(), hoist the h/w done notification write up to before we need to increment the head of the ring, and save an smp_mb. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/authenc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud