summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/Kbuild
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-07-29 11:55:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-31 13:29:24 +0200
commit82cb54856874b1b374f18420be013ff4057700a9 (patch)
treec3c6d19f0a0223d540cbde5dcd8c37b2d3d8b8ea /include/asm-generic/Kbuild
parentcrypto: s390/aes - fix name clash after AES library refactor (diff)
downloadlinux-82cb54856874b1b374f18420be013ff4057700a9.tar.xz
linux-82cb54856874b1b374f18420be013ff4057700a9.zip
asm-generic: make simd.h a mandatory include/asm header
The generic aegis128 software crypto driver recently gained support for using SIMD intrinsics to increase performance, for which it uncondionally #include's the <asm/simd.h> header. Unfortunately, this header does not exist on many architectures, resulting in build failures. Since asm-generic already has a version of simd.h, let's make it a mandatory header so that it gets instantiated on all architectures that don't provide their own version. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/asm-generic/Kbuild')
-rw-r--r--include/asm-generic/Kbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 6f4536d70b8e..adff14fcb8e4 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -3,3 +3,5 @@
# asm headers that all architectures except um should have
# (This file is not included when SRCARCH=um since UML borrows several
# asm headers from the host architecutre.)
+
+mandatory-y += simd.h