Re: [PATCH v1 2/3] zinc: Introduce minimal cryptography library

From: Jason A. Donenfeld
Date: Tue Aug 07 2018 - 21:51:57 EST


On Tue, Aug 7, 2018 at 6:49 PM Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> I really wish we had a way to see that we use asm-genericâs copy of a header in all cases except where an arch opts out.

It's really not that hard to do -- symlink asm-generic to a target
called "asm" inside an otherwise empty directory, and add that
otherwise empty directory to the -I paths just after arch/include.
Since it's searched second, it's only used if the first fails. Maybe
I'm missing something though, as this seems a bit too obvious. Perhaps
a project for another day.