]> Git Repo - J-linux.git/commitdiff
crypto: Use ARCH_KMALLOC_MINALIGN for CRYPTO_MINALIGN now that it's exposed
authorDavid Woodhouse <[email protected]>
Wed, 19 May 2010 11:02:17 +0000 (12:02 +0100)
committerPekka Enberg <[email protected]>
Wed, 19 May 2010 19:03:14 +0000 (22:03 +0300)
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
include/linux/crypto.h

index 24d2e30f1b4649ad69e44ab25813b4f85c11b352..a6a7a1c83f54c1f7430b7d4306f31aaabc126eaa 100644 (file)
  * as arm where pointers are 32-bit aligned but there are data types such as
  * u64 which require 64-bit alignment.
  */
-#if defined(ARCH_KMALLOC_MINALIGN)
 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
-#elif defined(ARCH_SLAB_MINALIGN)
-#define CRYPTO_MINALIGN ARCH_SLAB_MINALIGN
-#else
-#define CRYPTO_MINALIGN __alignof__(unsigned long long)
-#endif
 
 #define CRYPTO_MINALIGN_ATTR __attribute__ ((__aligned__(CRYPTO_MINALIGN)))
 
This page took 0.044402 seconds and 4 git commands to generate.