]> git.baikalelectronics.ru Git - kernel.git/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)
commitfb96605e19530e12f68a8a6cf160055a3ce15f9e
treeda9fc944ada8607cf534a2d0b0774ba8e0549fcc
parent4504b8980b45f04e7c033f506d4231add80a393c
[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