mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 00:32:00 +00:00
kbuild: drop support for include/asm-<arch> in headers_check.pl
"include/asm-<arch>" was replaced by "arch/<arch>/include/asm" a long time ago. All assembler header files are now included using "#include <asm/*>", so there is no longer a need to rewrite paths. Link: https://lkml.kernel.org/r/19fb5b49396239d28020015ba2640d77dacdb6c2.1733404444.git.geert+renesas@glider.be Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Andy Whitcroft <apw@canonical.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Dwaipayan Ray <dwaipayanray1@gmail.com> Cc: Joe Perches <joe@perches.com> Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Nicolas Schier <nicolas@fjasle.eu> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Yury Norov <yury.norov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
cf61249ad1
commit
5e1cca3761
@ -54,10 +54,6 @@ sub check_include
|
||||
my $inc = $1;
|
||||
my $found;
|
||||
$found = stat($dir . "/" . $inc);
|
||||
if (!$found) {
|
||||
$inc =~ s#asm/#asm-$arch/#;
|
||||
$found = stat($dir . "/" . $inc);
|
||||
}
|
||||
if (!$found) {
|
||||
printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
|
||||
$ret = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user