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, 10 Aug 2022 18:11:48 +0000 (19:11 +0100)
commita99355d9608ace5f7750a67ed45ce6e8882fe2e1
tree1a774f20042eebfa97ccc4a768aa37ec4e60ec5e
parent8d3d7ff41c87dab2c73971356a58795ec1bfebb1
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