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

From: Andrew Morton
Date: Mon Feb 10 2020 - 17:30:55 EST


On Tue, 11 Feb 2020 02:54:52 +0900 Masahiro Yamada <masahiroy@xxxxxxxxxx> 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?