crypto: talitos - align locks on cache lines
authorKim Phillips <kim.phillips@freescale.com>
Thu, 13 Aug 2009 01:50:38 +0000 (11:50 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Aug 2009 01:50:38 +0000 (11:50 +1000)
commit4b992628812137e30cda3510510cf3c052345b30
tree97797e65fc0c3e1b7ed51a5b250d9c44213b3ecb
parente41256f139b9148cfa12d2d057fec39e3d181ff0
crypto: talitos - align locks on cache lines

align channel access locks onto separate cache lines (for performance
reasons).  This is done by placing per-channel variables into their own
private struct, and using the cacheline_aligned attribute within that
struct.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c