Re: [PATCH] asm-generic: make more kernel-space headers mandatory

Andrew Morton
2020-02-10T22:30:53Z

On Tue, 11 Feb 2020 02:54:52 +0900 Masahiro Yamada <masahiroy@kernel.org> wrote:

> Change a header to mandatory-y if both of the following are met:
>
> [1] At least one architecture (except um) specifies it as generic-y in
> arch/*/include/asm/Kbuild
>
> [2] Every architecture (except um) either has its own implementation
> (arch/*/include/asm/*.h) or specifies it as generic-y in
> arch/*/include/asm/Kbuild

(reads Documentation/kbuild/makefiles.rst to remember what these things
do).

Why are we making this change? What's the benefit?