]> err.no Git - linux-2.6/commit
[CRYPTO] api: Fixed crypto_tfm context alignment
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Aug 2006 11:03:52 +0000 (21:03 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:16:27 +0000 (11:16 +1000)
commit799111020c66c41aef621a3b53ad112543754124
treeda9fc944ada8607cf534a2d0b0774ba8e0549fcc
parente478bec0ba0a83a48a0f6982934b6de079e7e6b3
[CRYPTO] api: Fixed crypto_tfm context alignment

Previously the __aligned__ attribute was added to the crypto_tfm context
member to ensure it is alinged correctly on architectures such as arm.
Unfortunately kmalloc does not use the same minimum alignment rules as
gcc so this is useless.

This patch changes it to use kmalloc's minimum alignment.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/crypto.h