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>
Fri, 2 Sep 2022 13:54:53 +0000 (14:54 +0100)
commit38f0d3afe60efe4a9d06f01440b36f873e9076fa
treed792c330be0417e4ab27fe6653cd2bd874eed485
parentd32695ec0ab91c2477c672acc1d904dabd1e96f4
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