crypto: aes - Use ___cacheline_aligned for aes data
authorAndi Kleen <ak@linux.intel.com>
Sat, 30 Mar 2019 00:46:29 +0000 (17:46 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 8 Apr 2019 06:36:16 +0000 (14:36 +0800)
commit61abc356bf310d346d2d469cb009f6d4334f34de
tree8a8113a98bac5c359bcebba36d6a1586d49577ca
parent71052dcf4be70be4077817297dcde7b155e745f2
crypto: aes - Use ___cacheline_aligned for aes data

cacheline_aligned is a special section. It cannot be const at the same
time because it's not read-only. It doesn't give any MMU protection.

Mark it ____cacheline_aligned to not place it in a special section,
but just align it in .rodata

Cc: herbert@gondor.apana.org.au
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aes_generic.c
include/crypto/aes.h