From: Ard Biesheuvel Date: Mon, 29 Jul 2019 09:55:21 +0000 (+0300) Subject: asm-generic: make simd.h a mandatory include/asm header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=82cb54856874b1b374f18420be013ff4057700a9;p=linux.git 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 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 Acked-by: Arnd Bergmann Signed-off-by: Herbert Xu --- diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index 6f4536d70b8ed..adff14fcb8e43 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