tools/include/uapi: Fix <asm/errno.h>
authorBen Hutchings <benh@debian.org>
Tue, 25 Aug 2020 22:27:40 +0000 (23:27 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 9 Feb 2022 08:35:55 +0000 (08:35 +0000)
commitde2fca0c79b13954b568dbf35286c663e0fcb204
tree589cb85bd1ef61ceca4a5aad5f7a75aedea7151d
parent7cba3eb252f9141fbef93a2b33943c65a5bc8c70
tools/include/uapi: Fix <asm/errno.h>

tools/include/uapi/asm/errno.h currently attempts to include
non-existent arch-specific headers for ia64 and xtensa.  Remove
these cases so that <asm-generic/errno.h> is used instead.

It does not use the arch-specific header for parisc, so add a
case for that.

References: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=ia64&ver=5.8.3-1%7Eexp1&stamp=1598340829&raw=1
Signed-off-by: Ben Hutchings <benh@debian.org>
[Salvatore Bonaccorso: Inclusion for ia64 was dropped in upstream 5.10.32,
refresh patch for context changes]
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-include-uapi-fix-errno.h.patch
tools/include/uapi/asm/errno.h