On Mon, 29 Jul 2019 at 12:21, Herbert Xu <[email protected]> wrote:
>
> On Mon, Jul 29, 2019 at 12:15:20PM +0300, Ard Biesheuvel wrote:
> >
> > It is simply a matter of adding simd.h to the various
> > arch/<...>/include/asm/Kbuild files, but we'd have to do that for all
> > architectures.
>
> How does errno.h get added then? It doesn't appear to be in the
> m68k (or arm) Kbuild file either.
>

This seems to work

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

Reply via email to