OSDN Git Service

asm-generic: make simd.h a mandatory include/asm header
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 29 Jul 2019 09:55:21 +0000 (12:55 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Jul 2019 11:29:24 +0000 (21:29 +1000)
commit82cb54856874b1b374f18420be013ff4057700a9
treec3c6d19f0a0223d540cbde5dcd8c37b2d3d8b8ea
parent931c940fa5643d3d8cd62ba7bfa0c61077eb7b59
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>
include/asm-generic/Kbuild