Commit 82cb5485 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Herbert Xu

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: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 931c940f
...@@ -3,3 +3,5 @@ ...@@ -3,3 +3,5 @@
# asm headers that all architectures except um should have # asm headers that all architectures except um should have
# (This file is not included when SRCARCH=um since UML borrows several # (This file is not included when SRCARCH=um since UML borrows several
# asm headers from the host architecutre.) # asm headers from the host architecutre.)
mandatory-y += simd.h
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment